de.uni_paderborn.fujaba.uml
Class UMLTransition

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.UMLConnection
                      extended byde.uni_paderborn.fujaba.uml.UMLTransition
All Implemented Interfaces:
java.lang.Comparable, FConnection, 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 UMLTransition
extends UMLConnection

Associations

              0..1             N
 UMLActivity -------------------- UMLTransition
              revEntry     entry

              0..1             N
 UMLActivity -------------------- UMLTransition
              revExit       exit
 

Version:
$Revision: 1.72.2.3 $
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.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
UMLTransition()
          Constructor for class UMLTransition
UMLTransition(boolean coobraPersistent)
           
UMLTransition(UMLActivity revExit, UMLActivity revEntry, UMLTransitionGuard guard)
          Constructor for class UMLTransition
 
Method Summary
 java.lang.String getAction()
          Get the value of action.
 java.lang.String getEvent()
          Get the value of event.
 UMLTransitionGuard getGuard()
          Get the guard attribute of the UMLTransition object
 boolean getIsForwardEdge()
           
 boolean getIsMarked()
          Get the isMarked attribute of the UMLTransition object
 java.lang.String getName()
          Patch getName() to return a hopefully sensible name for the transition in AOAD contract analysis
 UMLActivity getRevEntry()
          Get the revEntry attribute of the UMLTransition object
 UMLActivity getRevExit()
          Get the revExit attribute of the UMLTransition object
 UMLActivity getSource()
          Get the source attribute of the UMLTransition object
 UMLDiagramItem getSourceConnector()
          Get the sourceConnector attribute of the UMLTransition object
 UMLActivity getTarget()
          Get the target attribute of the UMLTransition object
 UMLDiagramItem getTargetConnector()
          Get the targetConnector attribute of the UMLTransition object
 boolean hasEvent()
          No comment provided by developer, please add a comment to improve documentation.
 boolean looksLike(UMLTransition curTransition)
          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 setAction(java.lang.String action)
          Set the value of action.
 void setEvent(java.lang.String event)
          Set the value of event.
 void setGuard(UMLTransitionGuard guard)
          Sets the guard attribute of the UMLTransition object
 void setIsForwardEdge(boolean isForwardEdge)
          Sets the isForwardEdge attribute of the UMLTransition object
 void setIsMarked(boolean isMarked)
          Sets the isMarked attribute of the UMLTransition object
 boolean setRevEntry(UMLActivity value)
          Sets the revEntry attribute of the UMLTransition object
 boolean setRevExit(UMLActivity value)
          Sets the revExit attribute of the UMLTransition object
 boolean setSource(UMLActivity source)
          Sets the source attribute of the UMLTransition object
 boolean setSourceConnector(FDiagramItem incr)
          Sets the sourceConnector attribute of the UMLTransition object
 boolean setTarget(UMLActivity target)
          Sets the target attribute of the UMLTransition object
 boolean setTargetConnector(FDiagramItem incr)
          Sets the targetConnector attribute of the UMLTransition object
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLConnection
getFPartner, getFSourceConnector, getFTargetConnector, getPartner, setPartner
 
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, 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, 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.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, 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.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

UMLTransition

public UMLTransition(boolean coobraPersistent)
Parameters:
coobraPersistent -

UMLTransition

public UMLTransition()
Constructor for class UMLTransition


UMLTransition

public UMLTransition(UMLActivity revExit,
                     UMLActivity revEntry,
                     UMLTransitionGuard guard)
Constructor for class UMLTransition

Parameters:
revExit - No description provided
revEntry - No description provided
guard - No description provided
Method Detail

setRevEntry

public boolean setRevEntry(UMLActivity value)
Sets the revEntry attribute of the UMLTransition object

Parameters:
value - The new revEntry value
Returns:
No description provided

getRevEntry

public UMLActivity getRevEntry()
Get the revEntry attribute of the UMLTransition object

Returns:
The revEntry value

setSource

public boolean setSource(UMLActivity source)
Sets the source attribute of the UMLTransition object

Parameters:
source - The new source value
Returns:
No description provided

getSource

public UMLActivity getSource()
Get the source attribute of the UMLTransition object

Returns:
The source value

setSourceConnector

public boolean setSourceConnector(FDiagramItem incr)
Sets the sourceConnector attribute of the UMLTransition object

Parameters:
incr - The new sourceConnector value
Returns:
No description provided

getSourceConnector

public UMLDiagramItem getSourceConnector()
Get the sourceConnector attribute of the UMLTransition object

Specified by:
getSourceConnector in class UMLConnection
Returns:
The sourceConnector value

setRevExit

public boolean setRevExit(UMLActivity value)
Sets the revExit attribute of the UMLTransition object

Parameters:
value - The new revExit value
Returns:
No description provided

getRevExit

public UMLActivity getRevExit()
Get the revExit attribute of the UMLTransition object

Returns:
The revExit value

setTarget

public boolean setTarget(UMLActivity target)
Sets the target attribute of the UMLTransition object

Parameters:
target - The new target value
Returns:
No description provided

getTarget

public UMLActivity getTarget()
Get the target attribute of the UMLTransition object

Returns:
The target value

setTargetConnector

public boolean setTargetConnector(FDiagramItem incr)
Sets the targetConnector attribute of the UMLTransition object

Parameters:
incr - The new targetConnector value
Returns:
No description provided

getTargetConnector

public UMLDiagramItem getTargetConnector()
Get the targetConnector attribute of the UMLTransition object

Specified by:
getTargetConnector in class UMLConnection
Returns:
The targetConnector value

getEvent

public java.lang.String getEvent()
Get the value of event.

Returns:
Value of event.

getName

public java.lang.String getName()
Patch getName() to return a hopefully sensible name for the transition in AOAD contract analysis

Specified by:
getName in interface FElement
Overrides:
getName in class ASGElement
Returns:
Content of event (whatever this is).

setEvent

public void setEvent(java.lang.String event)
Set the value of event.

Parameters:
event - The new event value

hasEvent

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

Returns:
No description provided

getAction

public java.lang.String getAction()
Get the value of action.

Returns:
Value of action.

setAction

public void setAction(java.lang.String action)
Set the value of action.

Parameters:
action - The new action value

getGuard

public UMLTransitionGuard getGuard()
Get the guard attribute of the UMLTransition object

Returns:
The guard value

setGuard

public void setGuard(UMLTransitionGuard guard)
Sets the guard attribute of the UMLTransition object

Parameters:
guard - The new guard value

setIsForwardEdge

public void setIsForwardEdge(boolean isForwardEdge)
Sets the isForwardEdge attribute of the UMLTransition object

Parameters:
isForwardEdge - The new isForwardEdge value

getIsForwardEdge

public boolean getIsForwardEdge()
Returns:
TRUE - if Transition is a forward edge in the dfs tree FALSE - if Transition is a backward edge

setIsMarked

public void setIsMarked(boolean isMarked)
Sets the isMarked attribute of the UMLTransition object

Parameters:
isMarked - The new isMarked value

getIsMarked

public boolean getIsMarked()
Get the isMarked attribute of the UMLTransition object

Returns:
The isMarked value

looksLike

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

Parameters:
curTransition - 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