public class ServerGroup extends BaseDomainHelper implements Identifiable
Modifier and Type | Field and Description |
---|---|
static long |
UNLIMITED |
Constructor and Description |
---|
ServerGroup() |
Modifier and Type | Method and Description |
---|---|
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<Server> |
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() |
getCreated, getModified, setCreated, setModified
public static final long UNLIMITED
public java.lang.Long getId()
getId
in interface Identifiable
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<Server> getServers()
public boolean isManaged()
public java.lang.Long getCurrentMembers()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class BaseDomainHelper