org.enhydra.shark.xpdl.elements
Class Transition

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

public class Transition
extends XMLCollectionElement

Represents coresponding element from XPDL schema.

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  Activity fromActivity
           
protected  Activity toActivity
           
 
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
Transition(Transitions parent)
           
 
Method Summary
 void clearCaches()
           
protected  void fillStructure()
          The classes that are derived from this class has to give its definition for this method.
 Condition getCondition()
           
 java.lang.String getDescription()
           
 ExtendedAttributes getExtendedAttributes()
           
 java.lang.String getFrom()
           
 Activity getFromActivity()
           
 java.lang.String getName()
           
 java.lang.String getTo()
           
 Activity getToActivity()
           
 void initCaches()
          Initializes caches in read-only mode.
 void setDescription(java.lang.String description)
           
 void setFrom(java.lang.String from)
           
 void setName(java.lang.String name)
           
 void setTo(java.lang.String to)
           
 
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

toActivity

protected transient Activity toActivity

fromActivity

protected transient Activity fromActivity
Constructor Detail

Transition

public Transition(Transitions 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

getToActivity

public Activity getToActivity()

getFromActivity

public Activity getFromActivity()

getFrom

public java.lang.String getFrom()

setFrom

public void setFrom(java.lang.String from)

getTo

public java.lang.String getTo()

setTo

public void setTo(java.lang.String to)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getCondition

public Condition getCondition()

getExtendedAttributes

public ExtendedAttributes getExtendedAttributes()