org.gxos.schema
Class UserObject
java.lang.Object
|
+--org.gxos.gndi.context.TreeObjectContext
|
+--org.gxos.schema.TreeObject
|
+--org.gxos.schema.UserObject
- All Implemented Interfaces:
- java.io.Serializable, XMLObject
- Direct Known Subclasses:
- User, User, User, UserGroupType
- public abstract class UserObject
- extends TreeObject
- implements java.io.Serializable
GXOS user class. It can use multiple personal information
schemas. At the time, Virtual Classroom, IMS and PAPI types are
supported.
- See Also:
- Serialized Form
Methods inherited from class org.gxos.schema.TreeObject |
addCustomExtension, addCustomExtension, addNodeComment, addNodeComment, enumerateCustomExtension, enumerateNodeComment, getCustomExtension, getCustomExtension, getCustomExtensionCount, getCustomType, getExtensions, getHistoryObject, getNamespaces, getNodeChildren, getNodeComment, getNodeComment, getNodeCommentCount, getNodeContents, getNodeEndTime, getNodeName, getNodeProfile, getNodeRooting, getNodeStartTime, getNodeType, getNodeUpdateTime, getNodeVersionNumber, getParentObject, removeAllCustomExtension, removeAllNodeComment, removeCustomExtension, removeNodeComment, setCustomExtension, setCustomExtension, setCustomType, setExtensions, setHistoryObject, setNamespaces, setNodeChildren, setNodeComment, setNodeComment, setNodeContents, setNodeEndTime, setNodeName, setNodeProfile, setNodeRooting, setNodeStartTime, setNodeType, setNodeUpdateTime, setNodeVersionNumber, setParentObject |
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 |
UserObject
public UserObject()
addComments
public void addComments(java.lang.String vComments)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vComments
-
addComments
public void addComments(int index,
java.lang.String vComments)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vComments
-
enumerateComments
public java.util.Enumeration enumerateComments()
getComments
public java.lang.String getComments(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getComments
public java.lang.String[] getComments()
getCommentsCount
public int getCommentsCount()
getPersonalInfoType
public PersonalInfoTypeType getPersonalInfoType()
getPreferences
public Preferences getPreferences()
getRelations
public Relations getRelations()
getSecurity
public Security getSecurity()
isValid
public boolean isValid()
- Overrides:
isValid
in class TreeObject
marshal
public abstract void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class TreeObject
- Parameters:
out
-
marshal
public abstract void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class TreeObject
- Parameters:
handler
-
removeAllComments
public void removeAllComments()
removeComments
public java.lang.String removeComments(int index)
- Parameters:
index
-
setComments
public void setComments(int index,
java.lang.String vComments)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vComments
-
setComments
public void setComments(java.lang.String[] commentsArray)
- Parameters:
commentsArray
-
setPersonalInfoType
public void setPersonalInfoType(PersonalInfoTypeType personalInfoType)
- Parameters:
personalInfoType
-
setPreferences
public void setPreferences(Preferences preferences)
- Parameters:
preferences
-
setRelations
public void setRelations(Relations relations)
- Parameters:
relations
-
setSecurity
public void setSecurity(Security security)
- Parameters:
security
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class TreeObject