org.enhydra.shark.xpdl.elements
Class DataTypes
java.lang.Object
org.enhydra.shark.xpdl.XMLElement
org.enhydra.shark.xpdl.XMLComplexChoice
org.enhydra.shark.xpdl.elements.DataTypes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class DataTypes
- extends XMLComplexChoice
Represents coresponding element from XPDL schema.
- Author:
- Sasa Bojanic
- See Also:
- Serialized Form
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 |
DataTypes
public DataTypes(XMLComplexElement parent)
fillChoices
protected void fillChoices()
- Specified by:
fillChoices
in class XMLComplexChoice
clear
protected void clear()
clearOtherChoices
protected void clearOtherChoices()
setReadOnly
public void setReadOnly(boolean ro)
- Description copied from class:
XMLComplexChoice
- Overrides super-method to set this element and all of its
choice elements read only value to the one specified.
- Overrides:
setReadOnly
in class XMLComplexChoice
makeAs
public void makeAs(XMLElement el)
- Overrides:
makeAs
in class XMLComplexChoice
setNotifyListeners
public void setNotifyListeners(boolean notify)
- Overrides:
setNotifyListeners
in class XMLComplexChoice
setNotifyMainListeners
public void setNotifyMainListeners(boolean notify)
- Overrides:
setNotifyMainListeners
in class XMLComplexChoice
initCaches
public void initCaches()
- Description copied from class:
XMLComplexChoice
- Initializes caches in read-only mode. If mode is not read-only,
throws RuntimeException.
- Overrides:
initCaches
in class XMLComplexChoice
clearCaches
public void clearCaches()
- Overrides:
clearCaches
in class XMLComplexChoice
getChoices
public java.util.ArrayList getChoices()
- Description copied from class:
XMLComplexChoice
- The possible choices - instances of XMLElement class.
- Overrides:
getChoices
in class XMLComplexChoice
- Returns:
- the possible choices for this element.
getChoosen
public XMLElement getChoosen()
- Overrides:
getChoosen
in class XMLComplexChoice
setChoosen
public void setChoosen(XMLElement ch)
- Overrides:
setChoosen
in class XMLComplexChoice
getBasicType
public BasicType getBasicType()
setBasicType
public void setBasicType()
getDeclaredType
public DeclaredType getDeclaredType()
setDeclaredType
public void setDeclaredType()
getSchemaType
public SchemaType getSchemaType()
setSchemaType
public void setSchemaType()
getExternalReference
public ExternalReference getExternalReference()
setExternalReference
public void setExternalReference()
getRecordType
public RecordType getRecordType()
setRecordType
public void setRecordType()
getUnionType
public UnionType getUnionType()
setUnionType
public void setUnionType()
getEnumerationType
public EnumerationType getEnumerationType()
setEnumerationType
public void setEnumerationType()
getArrayType
public ArrayType getArrayType()
setArrayType
public void setArrayType()
getListType
public ListType getListType()
setListType
public void setListType()
clone
public java.lang.Object clone()
- Description copied from class:
XMLElement
- Used to create exact copy of the element.
- Overrides:
clone
in class XMLComplexChoice
equals
public boolean equals(java.lang.Object e)
- Overrides:
equals
in class XMLComplexChoice