de.uni_paderborn.fujaba.uml
Class UMLTransitionGuard

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.UMLTransitionGuard
All Implemented Interfaces:
java.lang.Comparable, 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 UMLTransitionGuard
extends UMLDiagramItem

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.35.2.2 $
Author:
$Author: creckord $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
static int BOOL
          No comment provided by developer, please add a comment to improve documentation.
static int ELSE
          No comment provided by developer, please add a comment to improve documentation.
static int EVERYTIMES
          No comment provided by developer, please add a comment to improve documentation.
static int EXCEPTION
          No comment provided by developer, please add a comment to improve documentation.
static int FAILURE
          No comment provided by developer, please add a comment to improve documentation.
static int NONE
          No comment provided by developer, please add a comment to improve documentation.
static int SUCCESS
          No comment provided by developer, please add a comment to improve documentation.
static int TERMINATION
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
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
UMLTransitionGuard()
          Constructor for class UMLTransitionGuard
UMLTransitionGuard(boolean coobraPersistent)
           
UMLTransitionGuard(int type, java.lang.String boolExpr, UMLTransition revGuard)
          Constructor for class UMLTransitionGuard
 
Method Summary
 java.lang.String getBoolExpr()
          Get the boolExpr attribute of the UMLTransitionGuard object
 java.lang.String getBoolExpr(int type)
          Get the boolExpr attribute of the UMLTransitionGuard object
static int getGuardType(UMLTransition transition)
           
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 UMLTransition getRevGuard()
          Get the revGuard attribute of the UMLTransitionGuard object
 int getType()
          Get the type attribute of the UMLTransitionGuard object
 boolean looksLike(UMLTransitionGuard curTransitionGuard)
          Same functionality as equals() there are maybe problems with jgl sets work if this method is called equals()
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void setBoolExpr(java.lang.String boolExpr)
          Sets the boolExpr attribute of the UMLTransitionGuard object
 void setRevGuard(UMLTransition revGuard)
          Sets the revGuard attribute of the UMLTransitionGuard object
 void setType(int type)
          Sets the type attribute of the UMLTransitionGuard object
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDiagramItem
addToDiagrams, addToRevAdditionalItems, addToRevItems, addToViewDefinitions, createUnparseModuleName, getCurrentActiveDiagram, getFCurrentActiveDiagram, getFFirstFromDiagrams, getFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions, toString
 
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, 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, wait, wait, wait
 
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, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getName, 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.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
 

Field Detail

NONE

public static final transient int NONE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

SUCCESS

public static final transient int SUCCESS
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

FAILURE

public static final transient int FAILURE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EVERYTIMES

public static final transient int EVERYTIMES
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

TERMINATION

public static final transient int TERMINATION
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

ELSE

public static final transient int ELSE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

BOOL

public static final transient int BOOL
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

EXCEPTION

public static final transient int EXCEPTION
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

UMLTransitionGuard

public UMLTransitionGuard()
Constructor for class UMLTransitionGuard


UMLTransitionGuard

public UMLTransitionGuard(boolean coobraPersistent)
Parameters:
coobraPersistent -

UMLTransitionGuard

public UMLTransitionGuard(int type,
                          java.lang.String boolExpr,
                          UMLTransition revGuard)
Constructor for class UMLTransitionGuard

Parameters:
type - No description provided
boolExpr - No description provided
revGuard - No description provided
Method Detail

getGuardType

public static int getGuardType(UMLTransition transition)

getType

public int getType()
Get the type attribute of the UMLTransitionGuard object

Returns:
The type value

setType

public void setType(int type)
Sets the type attribute of the UMLTransitionGuard object

Parameters:
type - The new type value

getBoolExpr

public java.lang.String getBoolExpr(int type)
Get the boolExpr attribute of the UMLTransitionGuard object

Parameters:
type - No description provided
Returns:
The boolExpr value

getBoolExpr

public java.lang.String getBoolExpr()
Get the boolExpr attribute of the UMLTransitionGuard object

Returns:
The boolExpr value

setBoolExpr

public void setBoolExpr(java.lang.String boolExpr)
Sets the boolExpr attribute of the UMLTransitionGuard object

Parameters:
boolExpr - The new boolExpr value

getRevGuard

public UMLTransition getRevGuard()
Get the revGuard attribute of the UMLTransitionGuard object

Returns:
The revGuard value

setRevGuard

public void setRevGuard(UMLTransition revGuard)
Sets the revGuard attribute of the UMLTransitionGuard object

Parameters:
revGuard - The new revGuard value

looksLike

public boolean looksLike(UMLTransitionGuard curTransitionGuard)
Same functionality as equals() there are maybe problems with jgl sets work if this method is called equals()

Parameters:
curTransitionGuard - No description provided
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

getParentElement

public FElement getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object).

Specified by:
getParentElement in interface FElement
Overrides:
getParentElement in class UMLDiagramItem
Returns:
the logical parent of this element;