|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.groups.Group
public class Group
Class Group.
| Constructor Summary | |
|---|---|
Group()
|
|
| Method Summary | |
|---|---|
void |
addDutySchedule(int index,
String vDutySchedule)
|
void |
addDutySchedule(String vDutySchedule)
|
void |
addUser(int index,
String vUser)
|
void |
addUser(String vUser)
|
Enumeration<String> |
enumerateDutySchedule()
Method enumerateDutySchedule. |
Enumeration<String> |
enumerateUser()
Method enumerateUser. |
String |
getComments()
Returns the value of field 'comments'. |
String[] |
getDutySchedule()
Method getDutySchedule.Returns the contents of the collection in an Array. |
String |
getDutySchedule(int index)
Method getDutySchedule. |
List<String> |
getDutyScheduleCollection()
Method getDutyScheduleCollection.Returns a reference to '_dutyScheduleList'. |
int |
getDutyScheduleCount()
Method getDutyScheduleCount. |
String |
getName()
Returns the value of field 'name'. |
String[] |
getUser()
Method getUser.Returns the contents of the collection in an Array. |
String |
getUser(int index)
Method getUser. |
List<String> |
getUserCollection()
Method getUserCollection.Returns a reference to '_userList'. |
int |
getUserCount()
Method getUserCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateDutySchedule()
Method iterateDutySchedule. |
Iterator<String> |
iterateUser()
Method iterateUser. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDutySchedule()
|
void |
removeAllUser()
|
boolean |
removeDutySchedule(String vDutySchedule)
Method removeDutySchedule. |
String |
removeDutyScheduleAt(int index)
Method removeDutyScheduleAt. |
boolean |
removeUser(String vUser)
Method removeUser. |
String |
removeUserAt(int index)
Method removeUserAt. |
void |
setComments(String comments)
Sets the value of field 'comments'. |
void |
setDutySchedule(int index,
String vDutySchedule)
|
void |
setDutySchedule(List<String> vDutyScheduleList)
Sets the value of '_dutyScheduleList' by copying the given Vector. |
void |
setDutySchedule(String[] vDutyScheduleArray)
|
void |
setDutyScheduleCollection(List<String> dutyScheduleList)
Deprecated. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setUser(int index,
String vUser)
|
void |
setUser(List<String> vUserList)
Sets the value of '_userList' by copying the given Vector. |
void |
setUser(String[] vUserArray)
|
void |
setUserCollection(List<String> userList)
Deprecated. |
static Group |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Group()
| Method Detail |
|---|
public void addDutySchedule(String vDutySchedule)
throws IndexOutOfBoundsException
vDutySchedule -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDutySchedule(int index,
String vDutySchedule)
throws IndexOutOfBoundsException
index - vDutySchedule -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addUser(String vUser)
throws IndexOutOfBoundsException
vUser -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addUser(int index,
String vUser)
throws IndexOutOfBoundsException
index - vUser -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateDutySchedule()
public Enumeration<String> enumerateUser()
public String getComments()
public String getDutySchedule(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getDutySchedule()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getDutyScheduleCollection()
public int getDutyScheduleCount()
public String getName()
public String getUser(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getUser()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getUserCollection()
public int getUserCount()
public boolean isValid()
public Iterator<String> iterateDutySchedule()
public Iterator<String> iterateUser()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllDutySchedule()
public void removeAllUser()
public boolean removeDutySchedule(String vDutySchedule)
vDutySchedule -
public String removeDutyScheduleAt(int index)
index -
public boolean removeUser(String vUser)
vUser -
public String removeUserAt(int index)
index -
public void setComments(String comments)
comments - the value of field 'comments'.
public void setDutySchedule(int index,
String vDutySchedule)
throws IndexOutOfBoundsException
index - vDutySchedule -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDutySchedule(String[] vDutyScheduleArray)
vDutyScheduleArray - public void setDutySchedule(List<String> vDutyScheduleList)
vDutyScheduleList - the Vector to copy.public void setDutyScheduleCollection(List<String> dutyScheduleList)
dutyScheduleList - the Vector to set.public void setName(String name)
name - the value of field 'name'.
public void setUser(int index,
String vUser)
throws IndexOutOfBoundsException
index - vUser -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setUser(String[] vUserArray)
vUserArray - public void setUser(List<String> vUserList)
vUserList - the Vector to copy.public void setUserCollection(List<String> userList)
userList - the Vector to set.
public static Group unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||