de.uni_paderborn.fujaba.uml
Class UMLConstraint

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.uml.UMLIncrement
              extended byde.uni_paderborn.fujaba.uml.UMLDiagramItem
                  extended byde.uni_paderborn.fujaba.uml.UMLConstraint
All Implemented Interfaces:
java.lang.Comparable, FConstraint, FDiagramItem, FElement, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier

public class UMLConstraint
extends UMLDiagramItem
implements FConstraint

Associations

                0..n     constraints     0..n
 UMLConstraint ------------------------------- UMLIncrement
                constraints    revConstraints
 

Version:
$Revision: 1.64.2.1 $
Author:
$Author: cschneid $

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.FConstraint
INCREMENTS_PROPERTY, REV_CONSTRAINT_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
REV_ADDITIONAL_ITEMS_PROPERTY, REV_ITEMS_PROPERTY, VIEW_DEFINITIONS_PROPERTY
 
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
UMLConstraint()
          Constructor for class UMLConstraint
UMLConstraint(java.lang.String text)
          Constructor for class UMLConstraint
 
Method Summary
 boolean addToIncrements(FIncrement value)
          Access method for an one to n association.
 boolean addToRevConstraint(FDiagram value)
          Access method for an one to n association.
 java.lang.String getText()
          Get the text attribute of the UMLConstraint object
 boolean hasInIncrements(FIncrement value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevConstraint(FDiagram value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfIncrements()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevConstraint()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllIncrements()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllRevConstraints()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromIncrements(FIncrement value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevConstraint(FDiagram value)
          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 setCutCopyPasteParent(FElement parent)
          Added by Erik Weihrauch for testing at 2005-07-13 Hangs the current ASGElement into the ASG-tree.
 void setText(java.lang.String text)
          Sets the text attribute of the UMLConstraint object
 int sizeOfIncrements()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevConstraint()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String toString()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDiagramItem
addToDiagrams, addToRevAdditionalItems, addToRevItems, addToViewDefinitions, createUnparseModuleName, getCurrentActiveDiagram, getFCurrentActiveDiagram, getFFirstFromDiagrams, getFirstFromDiagrams, getParentElement, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLIncrement
addToConstraints, addToStereotypes, addToStereotypes, elementsOfAllChildren, entriesOfStereotypes, getComment, getFComment, getFromFStereotypes, getFromStereotypes, getFromStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, setStereotype, sizeOfConstraint, sizeOfStereotypes
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGElement
acknowledgeChange, addAdditionalListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToAnnotations, addToElementReferences, addToElementReferences, addToFsaObjects, addToLocations, addToLocations, addToPropertyChangeListeners, addToPropertyChangeListeners, addToUnparseInformations, addToUnparseInformations, addToUserMessages, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getName, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, 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, 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, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
addToRevAdditionalItems, addToRevItems, addToViewDefinitions, getFCurrentActiveDiagram, getFFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
addToConstraints, addToStereotypes, entriesOfStereotypes, getFComment, getFromFStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, sizeOfStereotypes
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getName, getParentElement, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, 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.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface
getFSAInterface, getUnparseModuleName
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface
getPropertyChangeSupport
 
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

UMLConstraint

public UMLConstraint()
Constructor for class UMLConstraint


UMLConstraint

public UMLConstraint(java.lang.String text)
Constructor for class UMLConstraint

Parameters:
text - No description provided
Method Detail

getText

public java.lang.String getText()
Get the text attribute of the UMLConstraint object

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
The text value

setText

public void setText(java.lang.String text)
Sets the text attribute of the UMLConstraint object

Specified by:
setText in interface FConstraint
Parameters:
text - The new text value

hasInIncrements

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

Specified by:
hasInIncrements in interface FConstraint
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfIncrements

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

Specified by:
iteratorOfIncrements in interface FConstraint
Returns:
No description provided

sizeOfIncrements

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

Specified by:
sizeOfIncrements in interface FConstraint
Returns:
No description provided

addToIncrements

public boolean addToIncrements(FIncrement value)
Access method for an one to n association.

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

removeFromIncrements

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

Specified by:
removeFromIncrements in interface FConstraint
Parameters:
value - No description provided
Returns:
No description provided

removeAllIncrements

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

Specified by:
removeAllIncrements in interface FConstraint

hasInRevConstraint

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

Specified by:
hasInRevConstraint in interface FConstraint
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevConstraint

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

Specified by:
iteratorOfRevConstraint in interface FConstraint
Returns:
No description provided

sizeOfRevConstraint

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

Specified by:
sizeOfRevConstraint in interface FConstraint
Returns:
No description provided

addToRevConstraint

public boolean addToRevConstraint(FDiagram value)
Access method for an one to n association.

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

removeFromRevConstraint

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

Specified by:
removeFromRevConstraint in interface FConstraint
Parameters:
value - No description provided
Returns:
No description provided

removeAllRevConstraints

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

Specified by:
removeAllRevConstraints in interface FConstraint

setCutCopyPasteParent

public void setCutCopyPasteParent(FElement parent)
Added by Erik Weihrauch for testing at 2005-07-13 Hangs the current ASGElement into the ASG-tree. Needed for cut'n'paste.

Specified by:
setCutCopyPasteParent in interface FElement
Overrides:
setCutCopyPasteParent in class ASGElement
Parameters:
parent -

toString

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

Overrides:
toString in class UMLDiagramItem
Returns:
No description provided

removeYou

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

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