org.enhydra.shark.xpdl.elements
Class Activity

java.lang.Object
  extended by org.enhydra.shark.xpdl.XMLElement
      extended by org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex
          extended by org.enhydra.shark.xpdl.XMLComplexElement
              extended by org.enhydra.shark.xpdl.XMLCollectionElement
                  extended by org.enhydra.shark.xpdl.elements.Activity
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Activity
extends XMLCollectionElement

Represents coresponding element from XPDL schema.

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList exceptionalIncomingTransitions
           
protected  java.util.ArrayList exceptionalOutgoingTransitions
           
protected  java.util.ArrayList incomingTransitions
           
protected  java.util.ArrayList nonExceptionalIncomingTransitions
           
protected  java.util.ArrayList nonExceptionalOutgoingTransitions
           
protected  java.util.ArrayList outgoingTransitions
           
 
Fields inherited from class org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex
cachesInitialized, elementMap, elements
 
Fields inherited from class org.enhydra.shark.xpdl.XMLElement
isReadOnly, listeners, notifyListeners, notifyMainListeners, originalElementHashCode, parent, value
 
Constructor Summary
Activity(Activities acts)
           
 
Method Summary
 void clearCaches()
           
protected  void clearInternalCaches()
           
protected  void fillStructure()
          The classes that are derived from this class has to give its definition for this method.
 int getActivityFinishMode()
           
 int getActivityStartMode()
           
 int getActivityType()
           
 ActivityTypes getActivityTypes()
           
 Deadlines getDeadlines()
           
 java.lang.String getDescription()
           
 java.lang.String getDocumentation()
           
 java.util.ArrayList getExceptionalIncomingTransitions()
           
 java.util.ArrayList getExceptionalOutgoingTransitions()
           
 ExtendedAttributes getExtendedAttributes()
           
 FinishMode getFinishMode()
           
 java.lang.String getIcon()
           
 java.util.ArrayList getIncomingTransitions()
           
 java.lang.String getLimit()
           
 java.lang.String getName()
           
 java.util.ArrayList getNonExceptionalIncomingTransitions()
           
 java.util.ArrayList getNonExceptionalOutgoingTransitions()
           
 java.util.ArrayList getOutgoingTransitions()
           
 java.lang.String getPerformer()
           
 java.lang.String getPriority()
           
 SimulationInformation getSimulationInformation()
           
 StartMode getStartMode()
           
 TransitionRestrictions getTransitionRestrictions()
           
 void initCaches()
          Initializes caches in read-only mode.
 boolean isAndTypeJoin()
           
 boolean isAndTypeSplit()
           
 boolean isSubflowSynchronous()
           
protected  void putTransitionInTheRightList(Transition t, boolean outg)
           
 void setDescription(java.lang.String description)
           
 void setDocumentation(java.lang.String documentation)
           
 void setIcon(java.lang.String icon)
           
 void setLimit(java.lang.String limit)
           
 void setName(java.lang.String name)
           
 void setPerformer(java.lang.String performer)
           
 void setPriority(java.lang.String priority)
           
 
Methods inherited from class org.enhydra.shark.xpdl.XMLCollectionElement
getId, setId
 
Methods inherited from class org.enhydra.shark.xpdl.XMLComplexElement
add, add, clone, containsName, get, getXMLAttributes, getXMLElements, isEmpty, makeAs, set, set
 
Methods inherited from class org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex
contains, equals, get, setNotifyListeners, setNotifyMainListeners, setReadOnly, setValue, size, toElementMap, toElements
 
Methods inherited from class org.enhydra.shark.xpdl.XMLElement
addListener, createInfo, getListeners, getMainElement, getOriginalElementHashCode, getParent, isMainElement, isReadOnly, isRequired, notifyListeners, notifyMainListeners, removeListener, setParent, toName, toValue
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outgoingTransitions

protected transient java.util.ArrayList outgoingTransitions

incomingTransitions

protected transient java.util.ArrayList incomingTransitions

exceptionalOutgoingTransitions

protected transient java.util.ArrayList exceptionalOutgoingTransitions

nonExceptionalOutgoingTransitions

protected transient java.util.ArrayList nonExceptionalOutgoingTransitions

exceptionalIncomingTransitions

protected transient java.util.ArrayList exceptionalIncomingTransitions

nonExceptionalIncomingTransitions

protected transient java.util.ArrayList nonExceptionalIncomingTransitions
Constructor Detail

Activity

public Activity(Activities acts)
Method Detail

fillStructure

protected void fillStructure()
Description copied from class: XMLComplexElement
The classes that are derived from this class has to give its definition for this method. It is used to insert all members of those classes that are derived from XMLElement.

NOTE: The order of inserted elements is relevant for XML to be valid (members of classes derived from this class must be inserted into first mentioned list in the same order that they are within a corresponding tag for those classes within WfMC XML).

Overrides:
fillStructure in class XMLCollectionElement

initCaches

public void initCaches()
Description copied from class: XMLBaseForCollectionAndComplex
Initializes caches in read-only mode. If mode is not read-only, throws RuntimeException.

Overrides:
initCaches in class XMLBaseForCollectionAndComplex

clearCaches

public void clearCaches()
Overrides:
clearCaches in class XMLBaseForCollectionAndComplex

clearInternalCaches

protected void clearInternalCaches()

putTransitionInTheRightList

protected void putTransitionInTheRightList(Transition t,
                                           boolean outg)

getOutgoingTransitions

public java.util.ArrayList getOutgoingTransitions()

getIncomingTransitions

public java.util.ArrayList getIncomingTransitions()

getNonExceptionalOutgoingTransitions

public java.util.ArrayList getNonExceptionalOutgoingTransitions()

getExceptionalOutgoingTransitions

public java.util.ArrayList getExceptionalOutgoingTransitions()

getNonExceptionalIncomingTransitions

public java.util.ArrayList getNonExceptionalIncomingTransitions()

getExceptionalIncomingTransitions

public java.util.ArrayList getExceptionalIncomingTransitions()

isAndTypeSplit

public boolean isAndTypeSplit()

isAndTypeJoin

public boolean isAndTypeJoin()

getActivityStartMode

public int getActivityStartMode()

getActivityFinishMode

public int getActivityFinishMode()

getActivityType

public int getActivityType()

isSubflowSynchronous

public boolean isSubflowSynchronous()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDeadlines

public Deadlines getDeadlines()

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getDocumentation

public java.lang.String getDocumentation()

setDocumentation

public void setDocumentation(java.lang.String documentation)

getExtendedAttributes

public ExtendedAttributes getExtendedAttributes()

getFinishMode

public FinishMode getFinishMode()

getIcon

public java.lang.String getIcon()

setIcon

public void setIcon(java.lang.String icon)

getLimit

public java.lang.String getLimit()

setLimit

public void setLimit(java.lang.String limit)

getPerformer

public java.lang.String getPerformer()

setPerformer

public void setPerformer(java.lang.String performer)

getPriority

public java.lang.String getPriority()

setPriority

public void setPriority(java.lang.String priority)

getSimulationInformation

public SimulationInformation getSimulationInformation()

getStartMode

public StartMode getStartMode()

getTransitionRestrictions

public TransitionRestrictions getTransitionRestrictions()

getActivityTypes

public ActivityTypes getActivityTypes()