org.enhydra.shark.xpdl.elements
Class ActivitySet

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.ActivitySet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ActivitySet
extends XMLCollectionElement

Represents coresponding element from XPDL schema.

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList endingActivities
           
protected  java.util.ArrayList startingActivities
           
 
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
ActivitySet(ActivitySets parent)
           
 
Method Summary
 void clearCaches()
           
protected  void fillStructure()
          The classes that are derived from this class has to give its definition for this method.
 Activities getActivities()
           
 Activity getActivity(java.lang.String Id)
           
 java.util.ArrayList getEndingActivities()
           
 java.util.ArrayList getStartingActivities()
           
 Transition getTransition(java.lang.String Id)
           
 Transitions getTransitions()
           
 void initCaches()
          Initializes caches in read-only mode.
 
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

startingActivities

protected transient java.util.ArrayList startingActivities

endingActivities

protected transient java.util.ArrayList endingActivities
Constructor Detail

ActivitySet

public ActivitySet(ActivitySets parent)
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

getStartingActivities

public java.util.ArrayList getStartingActivities()

getEndingActivities

public java.util.ArrayList getEndingActivities()

getActivity

public Activity getActivity(java.lang.String Id)

getTransition

public Transition getTransition(java.lang.String Id)

getActivities

public Activities getActivities()

getTransitions

public Transitions getTransitions()