|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.web.admin.groups.parsers.GroupInfo
This is a data class to store the group information from the groups.xml file
Field Summary | |
private java.lang.String |
m_groupComments
Deprecated. The comments for the group |
private java.lang.String |
m_groupName
Deprecated. The name of the group |
private java.util.List |
m_users
Deprecated. The list of users in the group |
Constructor Summary | |
GroupInfo()
Deprecated. Default constructor, intializes the users list |
Method Summary | |
void |
addUser(java.lang.String aUser)
Deprecated. Adds a username to the list of users |
java.lang.String |
getGroupComments()
Deprecated. Returns the comments for the group |
java.lang.String |
getGroupName()
Deprecated. Returns the group name |
int |
getUserCount()
Deprecated. Returns a count of the users in the list |
java.util.List |
getUsers()
Deprecated. Returns the list of users |
void |
removeUser(java.lang.String aUser)
Deprecated. Removes a username from the list of users |
void |
setGroupComments(java.lang.String someComments)
Deprecated. Sets the comments for the group |
void |
setGroupName(java.lang.String aName)
Deprecated. Sets the group name |
java.lang.String |
toString()
Deprecated. Returns a String representation of the group, used primarily for debugging. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String m_groupName
private java.lang.String m_groupComments
private java.util.List m_users
Constructor Detail |
public GroupInfo()
Method Detail |
public void setGroupName(java.lang.String aName)
aName
- the name of the grouppublic java.lang.String getGroupName()
public void setGroupComments(java.lang.String someComments)
someComments
- the comments for the grouppublic java.lang.String getGroupComments()
public void addUser(java.lang.String aUser)
aUser
- a new usernamepublic void removeUser(java.lang.String aUser)
aUser
- the user to removepublic java.util.List getUsers()
public int getUserCount()
public java.lang.String toString()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |