de.uni_paderborn.fujaba.basic
Class BasicIncrement

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
All Implemented Interfaces:
java.lang.Comparable, UniqueIdentifier
Direct Known Subclasses:
AbstractFilter, ASGElement, FSAObject, PointIncrement, ViewDefinition

public class BasicIncrement
extends java.lang.Object
implements java.lang.Comparable, UniqueIdentifier

Implementation of the BasicIncrement interface.

Associations

                 0..1         Assoc         0..1 ------
 BasicIncrement ---------------------------------| ID | UMLProject
                 objectHashTable      refProject ------
 

Version:
$Revision: 1.190.2.6 $
Author:
$Author: lowende $

Field Summary
protected static boolean dontUseAccessMethodsInThisClass
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
BasicIncrement()
          Default constructor for BasicIncrement
 
Method Summary
 int compareTo(java.lang.Object obj)
          method from Compareble
 java.lang.String getID()
          Get the iD attribute of the BasicIncrement object
static java.lang.String getUniqueID()
          Get the uniqueID attribute of the BasicIncrement class
protected static java.lang.String getUniqueID(boolean increment)
          Get the uniqueID attribute of the BasicIncrement class
 boolean isGenerated()
          Get the generated attribute of the BasicIncrement object
static boolean lessUniqueId(java.lang.String first, java.lang.String second)
          No comment provided by developer, please add a comment to improve documentation.
 void readAttributes(java.util.Hashtable objects, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          wrapper for
 void readAttributes(java.util.Hashtable objects, de.upb.tools.fca.FDuplicatedTreeMap attributes, boolean loadAll)
          read attributes for current class instance from a fpr-file, only those which are not marked as transient or static
 java.lang.Object readFromStringTokenizer(java.util.Collection defaultValue, java.util.StringTokenizer lineTok, java.util.Hashtable objects, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 BasicIncrement readFromStringTokenizer(de.upb.tools.fca.FLinkedList defaultValue, java.util.StringTokenizer lineTok, java.util.Hashtable objects)
          No comment provided by developer, please add a comment to improve documentation.
 KeyValuePair readFromStringTokenizer(de.upb.tools.fca.FTreeMap defaultValue, java.util.StringTokenizer lineTok, java.util.Hashtable objects)
          No comment provided by developer, please add a comment to improve documentation.
 BasicIncrement readFromStringTokenizer(de.upb.tools.fca.FTreeSet defaultValue, java.util.StringTokenizer lineTok, java.util.Hashtable objects)
          No comment provided by developer, please add a comment to improve documentation.
 KeyValuePair readFromStringTokenizer(java.util.Map defaultValue, java.util.StringTokenizer lineTok, java.util.Hashtable objects)
          No comment provided by developer, please add a comment to improve documentation.
 BasicIncrement readFromStringTokenizer(java.lang.String decl, BasicIncrement defaultValue, java.util.Hashtable objects, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 boolean readFromStringTokenizer(java.lang.String decl, boolean defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 byte readFromStringTokenizer(java.lang.String decl, byte defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 double readFromStringTokenizer(java.lang.String decl, double defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 float readFromStringTokenizer(java.lang.String decl, float defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 int readFromStringTokenizer(java.lang.String decl, int defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 long readFromStringTokenizer(java.lang.String decl, long defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 short readFromStringTokenizer(java.lang.String decl, short defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String readFromStringTokenizer(java.lang.String decl, java.lang.String defaultValue, de.upb.tools.fca.FDuplicatedTreeMap attributes)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
static void resetClassInfos()
          No comment provided by developer, please add a comment to improve documentation.
static void resetFieldWriteMethods()
          No comment provided by developer, please add a comment to improve documentation.
 void setAttribValue(java.util.StringTokenizer value)
          Wrapper for
 void setAttribValue(java.util.StringTokenizer value, java.util.Hashtable objects)
          sets the value of an attrib.
 void setGenerated(boolean value)
          Sets the generated attribute of the BasicIncrement object
 java.lang.String setID(java.lang.String ID)
          Access method for directly setting the ID, for use with loading the project, to keep the IDs used the last time.
protected static void setUniqueId(java.lang.StringBuffer newUniqueID)
          Sets the uniqueId attribute of the BasicIncrement class
 void writeAttributes(java.lang.StringBuffer data, de.upb.tools.fca.FTreeSet setOfNeighbours)
          save attributes of current class object, only those which are not marked static or transient.
 void writeClassToStringBuffer(java.lang.StringBuffer data, de.upb.tools.fca.FTreeSet savedIncrements)
          No comment provided by developer, please add a comment to improve documentation.
 void writeClassToStringBuffer(java.lang.StringBuffer data, de.upb.tools.fca.FTreeSet savedIncrements, GXLFilter tmp)
          No comment provided by developer, please add a comment to improve documentation.
 void writeToStringBuffer(java.lang.String decl, BasicIncrement incr, de.upb.tools.fca.FTreeSet setOfNeighbours)
          No comment provided by developer, please add a comment to improve documentation.
 void writeToStringBuffer(java.lang.String decl, BasicIncrement incr, java.lang.String text, de.upb.tools.fca.FTreeSet setOfNeighbours)
          No comment provided by developer, please add a comment to improve documentation.
 void writeToStringBuffer(java.lang.String decl, boolean value)
          Save boolean attribute.
 void writeToStringBuffer(java.lang.String decl, byte value)
          Save int attribute.
 void writeToStringBuffer(java.lang.String decl, java.util.Collection collection, de.upb.tools.fca.FTreeSet setOfNeighbours)
          Method handles saving of collection containers like Vector or HashSet from the Java Foundation classes.
 void writeToStringBuffer(java.lang.String decl, double value)
          Save double attribute.
 void writeToStringBuffer(java.lang.String decl, java.util.Enumeration enumeration, de.upb.tools.fca.FTreeSet setOfNeighbours)
          No comment provided by developer, please add a comment to improve documentation.
 void writeToStringBuffer(java.lang.String decl, float value)
          Save float attribute.
 void writeToStringBuffer(java.lang.String decl, int value)
          Save int attribute.
 void writeToStringBuffer(java.lang.String decl, java.util.Iterator iter, de.upb.tools.fca.FTreeSet setOfNeighbours)
          This method handles the iterator returned by several methods of the container classes in the Java Foundation classes.
 void writeToStringBuffer(java.lang.String decl, long value)
          Save long attribute.
 void writeToStringBuffer(java.lang.String decl, java.lang.Long value, java.lang.String text, de.upb.tools.fca.FTreeSet setOfNeighbours)
          No comment provided by developer, please add a comment to improve documentation.
 void writeToStringBuffer(java.lang.String decl, java.util.Map map, de.upb.tools.fca.FTreeSet setOfNeighbours)
          Method handles saving of map containers like HashMap or Hashtable from the Java Foundation classes.
 void writeToStringBuffer(java.lang.String decl, java.awt.Point point, java.lang.String text, de.upb.tools.fca.FTreeSet setOfNeighbours)
          Write a Point to the fpr file
 void writeToStringBuffer(java.lang.String decl, java.lang.String strg)
          Save String Attribute.
 void writeToStringBuffer(java.lang.String decl, java.lang.String value, java.lang.String text, de.upb.tools.fca.FTreeSet setOfNeighbours)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dontUseAccessMethodsInThisClass

protected static transient boolean dontUseAccessMethodsInThisClass
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

BasicIncrement

public BasicIncrement()
Default constructor for BasicIncrement

Method Detail

setGenerated

public void setGenerated(boolean value)
Sets the generated attribute of the BasicIncrement object

Parameters:
value - The new generated value

isGenerated

public boolean isGenerated()
Get the generated attribute of the BasicIncrement object

Returns:
The generated value

setAttribValue

public void setAttribValue(java.util.StringTokenizer value)
Wrapper for

Parameters:
value - the tokenizer representing the value

setAttribValue

public void setAttribValue(java.util.StringTokenizer value,
                           java.util.Hashtable objects)
sets the value of an attrib. Method is a wrapper for calling readAttributes when only a single attrib is to be set.

Parameters:
value - the tokenizer representing the value
objects - The new attribValue value
See Also:
to ommit the objects parameter

getID

public java.lang.String getID()
Get the iD attribute of the BasicIncrement object

Specified by:
getID in interface UniqueIdentifier
Returns:
The iD value

setID

public java.lang.String setID(java.lang.String ID)
Access method for directly setting the ID, for use with loading the project, to keep the IDs used the last time.

Parameters:
ID - the new value for ID to be set.
Returns:
No description provided

setUniqueId

protected static void setUniqueId(java.lang.StringBuffer newUniqueID)
Sets the uniqueId attribute of the BasicIncrement class

Parameters:
newUniqueID - The new uniqueId value

getUniqueID

protected static java.lang.String getUniqueID(boolean increment)
Get the uniqueID attribute of the BasicIncrement class

Parameters:
increment - No description provided
Returns:
The uniqueID value

getUniqueID

public static java.lang.String getUniqueID()
Get the uniqueID attribute of the BasicIncrement class

Returns:
The uniqueID value

lessUniqueId

public static boolean lessUniqueId(java.lang.String first,
                                   java.lang.String second)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
first - No description provided
second - No description provided
Returns:
No description provided

compareTo

public int compareTo(java.lang.Object obj)
method from Compareble

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - No description provided
Returns:
No description provided

resetClassInfos

public static void resetClassInfos()
No comment provided by developer, please add a comment to improve documentation.


writeAttributes

public void writeAttributes(java.lang.StringBuffer data,
                            de.upb.tools.fca.FTreeSet setOfNeighbours)
save attributes of current class object, only those which are not marked static or transient.

Parameters:
data - No description provided
setOfNeighbours - No description provided

readAttributes

public void readAttributes(java.util.Hashtable objects,
                           de.upb.tools.fca.FDuplicatedTreeMap attributes)
wrapper for

Parameters:
objects - No description provided
attributes - No description provided
See Also:
readAttributes(Hashtable, FDuplicatedTreeMap, boolean)

readAttributes

public void readAttributes(java.util.Hashtable objects,
                           de.upb.tools.fca.FDuplicatedTreeMap attributes,
                           boolean loadAll)
read attributes for current class instance from a fpr-file, only those which are not marked as transient or static

Parameters:
objects - No description provided
attributes - No description provided
loadAll - No description provided

resetFieldWriteMethods

public static void resetFieldWriteMethods()
No comment provided by developer, please add a comment to improve documentation.


writeClassToStringBuffer

public final void writeClassToStringBuffer(java.lang.StringBuffer data,
                                           de.upb.tools.fca.FTreeSet savedIncrements)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
data - No description provided
savedIncrements - No description provided

writeClassToStringBuffer

public final void writeClassToStringBuffer(java.lang.StringBuffer data,
                                           de.upb.tools.fca.FTreeSet savedIncrements,
                                           GXLFilter tmp)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
data - No description provided
savedIncrements - No description provided
tmp - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      float value)
Save float attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      double value)
Save double attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      byte value)
Save int attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      int value)
Save int attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      long value)
Save long attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      boolean value)
Save boolean attribute.

Parameters:
decl - No description provided
value - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.lang.String strg)
Save String Attribute.

Parameters:
decl - No description provided
strg - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      BasicIncrement incr,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
incr - No description provided
setOfNeighbours - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      BasicIncrement incr,
                                      java.lang.String text,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
incr - No description provided
text - No description provided
setOfNeighbours - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.awt.Point point,
                                      java.lang.String text,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
Write a Point to the fpr file

Parameters:
decl - field declaration
point - point to write to file
text - appended text
setOfNeighbours - neighbors (not used)

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.lang.String value,
                                      java.lang.String text,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
value - No description provided
text - No description provided
setOfNeighbours - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.lang.Long value,
                                      java.lang.String text,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
value - No description provided
text - No description provided
setOfNeighbours - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.util.Enumeration enumeration,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
enumeration - No description provided
setOfNeighbours - No description provided

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.util.Collection collection,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
Method handles saving of collection containers like Vector or HashSet from the Java Foundation classes.

Parameters:
decl - the name of the attribute
collection - the default value (only needed to use overload mechanism when calling the writeTo... methods)
setOfNeighbours - incr referred by this incr and attrib are entered here.

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.util.Map map,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
Method handles saving of map containers like HashMap or Hashtable from the Java Foundation classes.

Parameters:
decl - the name of the attribute
map - the value which should be saved
setOfNeighbours - incr referred by this incr and attrib are entered here.

writeToStringBuffer

public final void writeToStringBuffer(java.lang.String decl,
                                      java.util.Iterator iter,
                                      de.upb.tools.fca.FTreeSet setOfNeighbours)
This method handles the iterator returned by several methods of the container classes in the Java Foundation classes.

Parameters:
decl - the name of the container attribute the iterator belongs to.
iter - the iterator.
setOfNeighbours - incr referred by this incr and attrib are entered here.

readFromStringTokenizer

public final java.lang.String readFromStringTokenizer(java.lang.String decl,
                                                      java.lang.String defaultValue,
                                                      de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final int readFromStringTokenizer(java.lang.String decl,
                                         int defaultValue,
                                         de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final long readFromStringTokenizer(java.lang.String decl,
                                          long defaultValue,
                                          de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final byte readFromStringTokenizer(java.lang.String decl,
                                          byte defaultValue,
                                          de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final float readFromStringTokenizer(java.lang.String decl,
                                           float defaultValue,
                                           de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final short readFromStringTokenizer(java.lang.String decl,
                                           short defaultValue,
                                           de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final double readFromStringTokenizer(java.lang.String decl,
                                            double defaultValue,
                                            de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final boolean readFromStringTokenizer(java.lang.String decl,
                                             boolean defaultValue,
                                             de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final BasicIncrement readFromStringTokenizer(java.lang.String decl,
                                                    BasicIncrement defaultValue,
                                                    java.util.Hashtable objects,
                                                    de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
decl - No description provided
defaultValue - No description provided
objects - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final BasicIncrement readFromStringTokenizer(de.upb.tools.fca.FLinkedList defaultValue,
                                                    java.util.StringTokenizer lineTok,
                                                    java.util.Hashtable objects)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
defaultValue - No description provided
lineTok - No description provided
objects - No description provided
Returns:
No description provided

readFromStringTokenizer

public final BasicIncrement readFromStringTokenizer(de.upb.tools.fca.FTreeSet defaultValue,
                                                    java.util.StringTokenizer lineTok,
                                                    java.util.Hashtable objects)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
defaultValue - No description provided
lineTok - No description provided
objects - No description provided
Returns:
No description provided

readFromStringTokenizer

public final java.lang.Object readFromStringTokenizer(java.util.Collection defaultValue,
                                                      java.util.StringTokenizer lineTok,
                                                      java.util.Hashtable objects,
                                                      de.upb.tools.fca.FDuplicatedTreeMap attributes)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
defaultValue - No description provided
lineTok - No description provided
objects - No description provided
attributes - No description provided
Returns:
No description provided

readFromStringTokenizer

public final KeyValuePair readFromStringTokenizer(java.util.Map defaultValue,
                                                  java.util.StringTokenizer lineTok,
                                                  java.util.Hashtable objects)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
defaultValue - No description provided
lineTok - No description provided
objects - No description provided
Returns:
No description provided

readFromStringTokenizer

public final KeyValuePair readFromStringTokenizer(de.upb.tools.fca.FTreeMap defaultValue,
                                                  java.util.StringTokenizer lineTok,
                                                  java.util.Hashtable objects)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
defaultValue - No description provided
lineTok - No description provided
objects - No description provided
Returns:
No description provided

removeYou

public void removeYou()
No comment provided by developer, please add a comment to improve documentation.