org.gxos.schema
Class TreeObject
java.lang.Object
|
+--org.gxos.gndi.context.TreeObjectContext
|
+--org.gxos.schema.TreeObject
- All Implemented Interfaces:
- java.io.Serializable, XMLObject
- Direct Known Subclasses:
- Application, ApplicationDescription, AssignmentObject, CollectionType, CourseObject, DeviceObjectType, DocumentType, EditObject, Entity, EventObject, GObject, GXOSObject, LinkNode, ProgramObjectType, UserObject, VirtualEnvironmentType
- public abstract class TreeObject
- extends TreeObjectContext
- implements java.io.Serializable
Garnet XML based Object Specification
Specify hierarchy of Collection(session), stream, events or
basic hierarchial unit.
- See Also:
- Serialized Form
Methods inherited from class org.gxos.gndi.context.TreeObjectContext |
addObject, enumerateChildren, getChild, getChildren, getContext, getName, getParameter, getParentXMLObject, getURI, getXML, removeObject, setContext, setParameter, updateObject, updateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeObject
public TreeObject()
addCustomExtension
public void addCustomExtension(CustomExtension vCustomExtension)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vCustomExtension
-
addCustomExtension
public void addCustomExtension(int index,
CustomExtension vCustomExtension)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vCustomExtension
-
addNodeComment
public void addNodeComment(java.lang.String vNodeComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vNodeComment
-
addNodeComment
public void addNodeComment(int index,
java.lang.String vNodeComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vNodeComment
-
enumerateCustomExtension
public java.util.Enumeration enumerateCustomExtension()
enumerateNodeComment
public java.util.Enumeration enumerateNodeComment()
getCustomExtension
public CustomExtension getCustomExtension(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getCustomExtension
public CustomExtension[] getCustomExtension()
getCustomExtensionCount
public int getCustomExtensionCount()
getCustomType
public java.lang.String getCustomType()
getExtensions
public Extensions getExtensions()
getHistoryObject
public HistoryObject getHistoryObject()
getNamespaces
public Namespaces getNamespaces()
getNodeChildren
public NodeChildren getNodeChildren()
getNodeComment
public java.lang.String getNodeComment(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getNodeComment
public java.lang.String[] getNodeComment()
getNodeCommentCount
public int getNodeCommentCount()
getNodeContents
public NodeContents getNodeContents()
getNodeEndTime
public NodeEndTime getNodeEndTime()
getNodeName
public java.lang.String getNodeName()
getNodeProfile
public NodeProfile getNodeProfile()
getNodeRooting
public NodeRootingType getNodeRooting()
getNodeStartTime
public NodeStartTime getNodeStartTime()
getNodeType
public NodeTypeType getNodeType()
getNodeUpdateTime
public NodeUpdateTime getNodeUpdateTime()
getNodeVersionNumber
public java.lang.String getNodeVersionNumber()
getParentObject
public ParentObject getParentObject()
isValid
public boolean isValid()
marshal
public abstract void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public abstract void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
removeAllCustomExtension
public void removeAllCustomExtension()
removeAllNodeComment
public void removeAllNodeComment()
removeCustomExtension
public CustomExtension removeCustomExtension(int index)
- Parameters:
index
-
removeNodeComment
public java.lang.String removeNodeComment(int index)
- Parameters:
index
-
setCustomExtension
public void setCustomExtension(int index,
CustomExtension vCustomExtension)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vCustomExtension
-
setCustomExtension
public void setCustomExtension(CustomExtension[] customExtensionArray)
- Parameters:
customExtensionArray
-
setCustomType
public void setCustomType(java.lang.String customType)
- Parameters:
customType
-
setExtensions
public void setExtensions(Extensions extensions)
- Parameters:
extensions
-
setHistoryObject
public void setHistoryObject(HistoryObject historyObject)
- Parameters:
historyObject
-
setNamespaces
public void setNamespaces(Namespaces namespaces)
- Parameters:
namespaces
-
setNodeChildren
public void setNodeChildren(NodeChildren nodeChildren)
- Parameters:
nodeChildren
-
setNodeComment
public void setNodeComment(int index,
java.lang.String vNodeComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vNodeComment
-
setNodeComment
public void setNodeComment(java.lang.String[] nodeCommentArray)
- Parameters:
nodeCommentArray
-
setNodeContents
public void setNodeContents(NodeContents nodeContents)
- Parameters:
nodeContents
-
setNodeEndTime
public void setNodeEndTime(NodeEndTime nodeEndTime)
- Parameters:
nodeEndTime
-
setNodeName
public void setNodeName(java.lang.String nodeName)
- Parameters:
nodeName
-
setNodeProfile
public void setNodeProfile(NodeProfile nodeProfile)
- Parameters:
nodeProfile
-
setNodeRooting
public void setNodeRooting(NodeRootingType nodeRooting)
- Parameters:
nodeRooting
-
setNodeStartTime
public void setNodeStartTime(NodeStartTime nodeStartTime)
- Parameters:
nodeStartTime
-
setNodeType
public void setNodeType(NodeTypeType nodeType)
- Parameters:
nodeType
-
setNodeUpdateTime
public void setNodeUpdateTime(NodeUpdateTime nodeUpdateTime)
- Parameters:
nodeUpdateTime
-
setNodeVersionNumber
public void setNodeVersionNumber(java.lang.String nodeVersionNumber)
- Parameters:
nodeVersionNumber
-
setParentObject
public void setParentObject(ParentObject parentObject)
- Parameters:
parentObject
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException