|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redhat.rhn.domain.BaseDomainHelper
com.redhat.rhn.domain.server.ServerGroup
public class ServerGroup
Server - Class representation of the table rhnServer.
| Field Summary | |
|---|---|
static long |
UNLIMITED
|
| Constructor Summary | |
|---|---|
ServerGroup()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.Long |
getCurrentMembers()
the number of current servers |
java.lang.String |
getDescription()
Getter for description |
ServerGroupType |
getGroupType()
|
java.lang.Long |
getId()
Getter for id |
java.lang.String |
getName()
Getter for name |
Org |
getOrg()
|
java.util.List |
getServers()
Returns the set of servers associated to the group Note this is readonly set because we DONOT want you to modify this set. |
int |
hashCode()
|
boolean |
isManaged()
Returns true if this server group is a User Managed false if its Entitlement Managed. |
void |
setDescription(java.lang.String descriptionIn)
Setter for description |
protected void |
setGroupType(ServerGroupType groupTypeIn)
Note this is to be set by hibernate only |
void |
setId(java.lang.Long idIn)
Setter for id |
void |
setName(java.lang.String nameIn)
Setter for name |
void |
setOrg(Org orgIn)
|
java.lang.String |
toString()
|
| Methods inherited from class com.redhat.rhn.domain.BaseDomainHelper |
|---|
getCreated, getModified, setCreated, setModified |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long UNLIMITED
| Constructor Detail |
|---|
public ServerGroup()
| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long idIn)
idIn - to setpublic java.lang.String getName()
public void setName(java.lang.String nameIn)
nameIn - to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String descriptionIn)
descriptionIn - to setpublic Org getOrg()
public void setOrg(Org orgIn)
orgIn - The org to set.public ServerGroupType getGroupType()
protected void setGroupType(ServerGroupType groupTypeIn)
groupTypeIn - The groupType to set.public java.util.List getServers()
public boolean isManaged()
public java.lang.Long getCurrentMembers()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||