|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.groups.Roles
public class Roles
Class Roles.
| Constructor Summary | |
|---|---|
Roles()
|
|
| Method Summary | |
|---|---|
void |
addRole(int index,
Role vRole)
Method addRole |
void |
addRole(Role vRole)
Method addRole |
void |
clearRole()
Method clearRole |
java.util.Enumeration |
enumerateRole()
Method enumerateRole |
Role[] |
getRole()
Method getRole |
Role |
getRole(int index)
Method getRole |
java.util.ArrayList |
getRoleCollection()
Method getRoleCollection Returns a reference to 'role'. |
int |
getRoleCount()
Method getRoleCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeRole(Role vRole)
Method removeRole |
void |
setRole(java.util.ArrayList roleCollection)
Method setRole Sets the value of 'role' by copying the given ArrayList. |
void |
setRole(int index,
Role vRole)
Method setRole |
void |
setRole(Role[] roleArray)
Method setRole |
void |
setRoleCollection(java.util.ArrayList roleCollection)
Method setRoleCollection Sets the value of 'role' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Roles()
| Method Detail |
|---|
public void addRole(Role vRole)
throws java.lang.IndexOutOfBoundsException
vRole -
java.lang.IndexOutOfBoundsException
public void addRole(int index,
Role vRole)
throws java.lang.IndexOutOfBoundsException
index - vRole -
java.lang.IndexOutOfBoundsExceptionpublic void clearRole()
public java.util.Enumeration enumerateRole()
public Role getRole(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Role[] getRole()
public java.util.ArrayList getRoleCollection()
public int getRoleCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeRole(Role vRole)
vRole -
public void setRole(int index,
Role vRole)
throws java.lang.IndexOutOfBoundsException
index - vRole -
java.lang.IndexOutOfBoundsExceptionpublic void setRole(Role[] roleArray)
roleArray - public void setRole(java.util.ArrayList roleCollection)
roleCollection - the Vector to copy.public void setRoleCollection(java.util.ArrayList roleCollection)
roleCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||