de.uni_paderborn.fujaba.uml
Class UMLActivity

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.UMLActivity
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
Direct Known Subclasses:
UMLComplexState, UMLNopActivity, UMLStartActivity, UMLStatementActivity, UMLStopActivity, UMLStoryActivity

public class UMLActivity
extends UMLDiagramItem

Associations

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

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

              0..1                         0..1
 UMLActivity ----------------------------------- FlowActivity
              + UMLActivity      + FlowActivity
 

Version:
$Revision: 1.67.2.2 $
Author:
$Author: fklar $

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
  UMLActivity()
          Constructor for class UMLActivity
protected UMLActivity(boolean coobraPersistent)
           
 
Method Summary
 boolean addToEntry(UMLTransition value)
          Access method for an one to n association.
 boolean addToExit(UMLTransition value)
          Access method for an one to n association.
 UMLActivityDiagram getActivityDiagram()
          Returns either the activity diagram in which this activity is contained or zero.
 FlowActivity getFlowActivity()
          Get the flowActivity attribute of the UMLActivity object
 int getInternalCompilationNumber()
          Get the internalCompilationNumber attribute of the UMLActivity object
 java.lang.String getName()
          Get the name attribute of the UMLDiagram object
 java.lang.String getText()
          Returns the name of the activity
 boolean hasInEntry(UMLTransition value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInExit(UMLTransition value)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean isPersistencyChange(java.beans.PropertyChangeEvent e)
          Get the persistencyChange attribute of the UMLActivity object
 java.util.Iterator iteratorOfEntry()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfExit()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromEntry()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromExit()
          No comment provided by developer, please add a comment to improve documentation.
protected  void removeAllTransitions()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromEntry(UMLTransition value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromExit(UMLTransition 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 setFlowActivity(FlowActivity flowActivity)
          Sets the flowActivity attribute of the UMLActivity object
 void setInternalCompilationNumber(int internalCompilationNumber)
          Sets the internalCompilationNumber attribute of the UMLActivity object
 void setName(java.lang.String name)
          Sets the name attribute of the UMLDiagram object
 int sizeOfEntry()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfExit()
          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, 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, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initElementListener, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, 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, 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, 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, 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

UMLActivity

protected UMLActivity(boolean coobraPersistent)
Parameters:
coobraPersistent -

UMLActivity

public UMLActivity()
Constructor for class UMLActivity

Method Detail

getActivityDiagram

public UMLActivityDiagram getActivityDiagram()
Returns either the activity diagram in which this activity is contained or zero. But then an exception is thrown outside this class.

Returns:
the UMLActivityDiagram

getName

public java.lang.String getName()
Get the name attribute of the UMLDiagram object

Specified by:
getName in interface FElement
Overrides:
getName in class ASGElement
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the UMLDiagram object

Specified by:
setName in interface FElement
Overrides:
setName in class ASGElement
Parameters:
name - The new name value

getInternalCompilationNumber

public int getInternalCompilationNumber()
Get the internalCompilationNumber attribute of the UMLActivity object

Returns:
The internalCompilationNumber value

setInternalCompilationNumber

public void setInternalCompilationNumber(int internalCompilationNumber)
Sets the internalCompilationNumber attribute of the UMLActivity object

Parameters:
internalCompilationNumber - The new internalCompilationNumber value

addToEntry

public boolean addToEntry(UMLTransition value)
Access method for an one to n association.

Parameters:
value - The object added.
Returns:
No description provided

hasInEntry

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

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

iteratorOfEntry

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

Returns:
No description provided

sizeOfEntry

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

Returns:
No description provided

removeFromEntry

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

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

removeAllFromEntry

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


addToExit

public boolean addToExit(UMLTransition value)
Access method for an one to n association.

Parameters:
value - The object added.
Returns:
No description provided

hasInExit

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

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

iteratorOfExit

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

Returns:
No description provided

sizeOfExit

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

Returns:
No description provided

removeFromExit

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

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

removeAllFromExit

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


getFlowActivity

public FlowActivity getFlowActivity()
Get the flowActivity attribute of the UMLActivity object

Returns:
The flowActivity value

setFlowActivity

public void setFlowActivity(FlowActivity flowActivity)
Sets the flowActivity attribute of the UMLActivity object

Parameters:
flowActivity - The new flowActivity value

removeAllTransitions

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


getText

public java.lang.String getText()
Returns the name of the activity

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
The text 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 UMLDiagramItem

isPersistencyChange

protected boolean isPersistencyChange(java.beans.PropertyChangeEvent e)
Get the persistencyChange attribute of the UMLActivity object

Overrides:
isPersistencyChange in class ASGElement
Parameters:
e - No description provided
Returns:
The persistencyChange value