org.enhydra.shark.xpdl.elements
Class Script

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

public class Script
extends XMLComplexElement

Represents coresponding element from XPDL schema.

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
 
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
Script(Package parent)
           
 
Method Summary
protected  void fillStructure()
          The classes that are derived from this class has to give its definition for this method.
 java.lang.String getGrammar()
           
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 void setGrammar(java.lang.String grammar)
           
 void setType(java.lang.String type)
           
 void setVersion(java.lang.String version)
           
 
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
clearCaches, contains, equals, get, initCaches, 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
 

Constructor Detail

Script

public Script(Package 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).

Specified by:
fillStructure in class XMLComplexElement

getGrammar

public java.lang.String getGrammar()

setGrammar

public void setGrammar(java.lang.String grammar)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)