com.anabas.vc.schema
Class Roles
java.lang.Object
|
+--com.anabas.vc.schema.Roles
- All Implemented Interfaces:
- java.io.Serializable
- public class Roles
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Roles()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Roles
public Roles()
addUserRole
public void addUserRole(java.lang.String vUserRole)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vUserRole
-
enumerateUserRole
public java.util.Enumeration enumerateUserRole()
getUserRole
public java.lang.String getUserRole(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getUserRole
public java.lang.String[] getUserRole()
getUserRoleCount
public int getUserRoleCount()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
removeAllUserRole
public void removeAllUserRole()
removeUserRole
public java.lang.String removeUserRole(int index)
- Parameters:
index
-
setUserRole
public void setUserRole(java.lang.String vUserRole,
int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vUserRole
- index
-
setUserRole
public void setUserRole(java.lang.String[] userRoleArray)
- Parameters:
userRoleArray
-
unmarshal
public static Roles unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException