de.uni_paderborn.fujaba.uml
Class UMLIncrement

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.uml.UMLIncrement
All Implemented Interfaces:
java.lang.Comparable, FElement, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier
Direct Known Subclasses:
UMLArray, UMLBaseTypes, UMLCardinality, UMLCommentary, UMLDiagramItem, UMLFile, UMLPackage, UMLQualifier, UMLRole, UMLStereotype, UMLTypeList

public abstract class UMLIncrement
extends ASGElement
implements LogicUnparseInterface, FIncrement

Associations

Version:
$Revision: 1.321.2.1 $
Author:
$Author: creckord $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
ASSERT_IN_UNIT_TEST_PROPERTY, COMMENT_PROPERTY, CONSTRAINTS_PROPERTY, STEREOTYPES_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY
 
Constructor Summary
  UMLIncrement()
          Constructor for class UMLIncrement
protected UMLIncrement(boolean coobraPersistent)
          Constructor for class UMLIncrement
 
Method Summary
 boolean addToConstraints(FConstraint value)
          Access method for an one to n association.
 boolean addToStereotypes(FStereotype obj)
          Access method for an one to n association.
protected  void addToStereotypes(KeyValuePair pair)
          This method is needed only for loading FTreeMaps, don't use it in other cases.
 java.util.Enumeration elementsOfAllChildren()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator entriesOfStereotypes()
          No comment provided by developer, please add a comment to improve documentation.
 UMLCommentary getComment()
          Get the comment attribute of the UMLIncrement object
 FCommentary getFComment()
          Get the fComment attribute of the UMLIncrement object
 FStereotype getFromFStereotypes(java.lang.String key)
          Get the fromStereotypes attribute of the FClass object
 FStereotype getFromStereotypes(FStereotype value)
          Get the fromStereotypes attribute of the UMLClass object
 FStereotype getFromStereotypes(java.lang.String key)
          Get the fromStereotypes attribute of the UMLClass object
 boolean hasInConstraints(FConstraint value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInStereotypes(FStereotype obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInStereotypes(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean isAssertInUnitTest()
          Get the assertInUnitTest attribute of the UMLIncrement object
 java.util.Iterator iteratorOfConstraints()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfStereotypes()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfStereotypes()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromConstraints()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromStereotypes()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromConstraints(FConstraint value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromStereotypes(FStereotype obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromStereotypes(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void setAssertInUnitTest(boolean value)
          Sets the assertInUnitTest attribute of the UMLIncrement object
 void setComment(FCommentary comment)
          Sets the comment attribute of the UMLIncrement object
 void setStereotype(FStereotype stereotype, boolean value)
          This method sets the stereotype if the value is true and deletes all of the specified kind if the value is false.
 int sizeOfConstraint()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfStereotypes()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGElement
acknowledgeChange, addAdditionalListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToFsaObjects, addToLocations, addToLocations, addToPropertyChangeListeners, addToPropertyChangeListeners, addToUnparseInformations, addToUnparseInformations, addToUserMessages, createUnparseModuleName, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getName, getParentElement, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, getText, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initElementListener, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, isPersistencyChange, isReadOnly, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfFsaObjects, iteratorOfKeyFromUnparseInformations, iteratorOfUnparseInformations, iteratorOfUserMessages, keysOfElementReferences, keysOfFsaObjects, keysOfUnparseInformations, proposeFieldValues, removeAdditionalListener, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromFsaObjects, removeAllFromUnparseInformations, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromFsaObjects, removeFromPropertyChangeListeners, removeFromPropertyChangeListeners, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUserMessages, removeKeyFromElementReferences, removeKeyFromFsaObjects, removePropertyChangeListener, removePropertyChangeListener, saveFSAProperties, saveLocations, searchID, setCoObRAId, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setInTransientMode, setLastOOGenToken, setName, setRepository, setUnparseModuleName, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfFsaObjects, sizeOfUserMessages, updateFSACollapsed, updateFSALocation, updateKeyInFsaObjects, writeAttributes
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setID, setUniqueId, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface
getFSAInterface, getUnparseModuleName
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface
getPropertyChangeSupport
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getName, getParentElement, getText, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, setName, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfUserMessages
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 

Constructor Detail

UMLIncrement

public UMLIncrement()
Constructor for class UMLIncrement


UMLIncrement

protected UMLIncrement(boolean coobraPersistent)
Constructor for class UMLIncrement

Parameters:
coobraPersistent - No description provided
Method Detail

elementsOfAllChildren

public java.util.Enumeration elementsOfAllChildren()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

hasInConstraints

public boolean hasInConstraints(FConstraint value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInConstraints in interface FIncrement
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfConstraints

public java.util.Iterator iteratorOfConstraints()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfConstraints in interface FIncrement
Returns:
No description provided

sizeOfConstraint

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

Returns:
No description provided

addToConstraints

public boolean addToConstraints(FConstraint value)
Access method for an one to n association.

Specified by:
addToConstraints in interface FIncrement
Parameters:
value - The object added.
Returns:
No description provided

removeFromConstraints

public boolean removeFromConstraints(FConstraint value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromConstraints in interface FIncrement
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromConstraints

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

Specified by:
removeAllFromConstraints in interface FIncrement

getComment

public UMLCommentary getComment()
Get the comment attribute of the UMLIncrement object

Returns:
The comment value

setComment

public void setComment(FCommentary comment)
Sets the comment attribute of the UMLIncrement object

Specified by:
setComment in interface FIncrement
Parameters:
comment - The new comment value

setAssertInUnitTest

public void setAssertInUnitTest(boolean value)
Sets the assertInUnitTest attribute of the UMLIncrement object

Specified by:
setAssertInUnitTest in interface FIncrement
Parameters:
value - The new assertInUnitTest value

isAssertInUnitTest

public boolean isAssertInUnitTest()
Get the assertInUnitTest attribute of the UMLIncrement object

Specified by:
isAssertInUnitTest in interface FIncrement
Returns:
The assertInUnitTest value

removeYou

public void removeYou()
Isolates the object so the garbage collector can remove it.

Specified by:
removeYou in interface FElement
Overrides:
removeYou in class ASGElement

getFComment

public FCommentary getFComment()
Get the fComment attribute of the UMLIncrement object

Specified by:
getFComment in interface FIncrement
Returns:
The fComment value

hasInStereotypes

public boolean hasInStereotypes(FStereotype obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInStereotypes in interface FIncrement
Parameters:
obj - No description provided
Returns:
No description provided

hasKeyInStereotypes

public boolean hasKeyInStereotypes(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasKeyInStereotypes in interface FIncrement
Parameters:
key - No description provided
Returns:
No description provided

iteratorOfStereotypes

public java.util.Iterator iteratorOfStereotypes()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfStereotypes in interface FIncrement
Returns:
No description provided

keysOfStereotypes

public java.util.Iterator keysOfStereotypes()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
keysOfStereotypes in interface FIncrement
Returns:
No description provided

entriesOfStereotypes

public java.util.Iterator entriesOfStereotypes()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
entriesOfStereotypes in interface FIncrement
Returns:
No description provided

sizeOfStereotypes

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

Specified by:
sizeOfStereotypes in interface FIncrement
Returns:
No description provided

getFromStereotypes

public FStereotype getFromStereotypes(java.lang.String key)
Get the fromStereotypes attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromStereotypes value

getFromStereotypes

public FStereotype getFromStereotypes(FStereotype value)
Get the fromStereotypes attribute of the UMLClass object

Parameters:
value - No description provided
Returns:
The fromStereotypes value

addToStereotypes

public boolean addToStereotypes(FStereotype obj)
Access method for an one to n association.

Specified by:
addToStereotypes in interface FIncrement
Parameters:
obj - The object added.
Returns:
No description provided

removeFromStereotypes

public boolean removeFromStereotypes(FStereotype obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromStereotypes in interface FIncrement
Parameters:
obj - No description provided
Returns:
No description provided

removeKeyFromStereotypes

public boolean removeKeyFromStereotypes(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeKeyFromStereotypes in interface FIncrement
Parameters:
key - No description provided
Returns:
No description provided

removeAllFromStereotypes

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

Specified by:
removeAllFromStereotypes in interface FIncrement

addToStereotypes

protected void addToStereotypes(KeyValuePair pair)
This method is needed only for loading FTreeMaps, don't use it in other cases.

Parameters:
pair - The object added.

setStereotype

public void setStereotype(FStereotype stereotype,
                          boolean value)
This method sets the stereotype if the value is true and deletes all of the specified kind if the value is false.

Parameters:
stereotype - The new stereotype value
value - The new stereotype value

getFromFStereotypes

public FStereotype getFromFStereotypes(java.lang.String key)
Get the fromStereotypes attribute of the FClass object

Specified by:
getFromFStereotypes in interface FIncrement
Parameters:
key - No description provided
Returns:
The fromStereotypes value