Package org.opennms.netmgt.model
Class OnmsGroup
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsGroup
-
- All Implemented Interfaces:
java.io.Serializable
public class OnmsGroup extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUser(java.lang.String userName)
boolean
equals(java.lang.Object obj)
java.lang.String
getComments()
java.lang.String
getName()
java.util.List<java.lang.String>
getUsers()
int
hashCode()
void
removeUser(java.lang.String userName)
void
setComments(java.lang.String comments)
void
setName(java.lang.String name)
void
setUsers(java.util.List<java.lang.String> users)
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getComments
public java.lang.String getComments()
-
setComments
public void setComments(java.lang.String comments)
-
getUsers
public java.util.List<java.lang.String> getUsers()
-
setUsers
public void setUsers(java.util.List<java.lang.String> users)
-
addUser
public void addUser(java.lang.String userName)
-
removeUser
public void removeUser(java.lang.String userName)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-