|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlive.dto.Guest
Guest is used by the cache to store information about a specific guest.
Field Summary | |
private String |
groupName
|
private String |
guestName
|
private String |
initMem
|
private String |
maxMem
|
private String |
permissionClasses
|
Constructor Summary | |
Guest(String guestName)
Creates a guest, setting its name. |
|
Guest(String guestName,
String groupName)
Creates a guest, setting its name and group name. |
Method Summary | |
boolean |
equals(Object b)
Tests if two guests have the same name. |
String |
getGroupName()
Gets the name of the group this guest belongs to. |
String |
getGuestName()
Gets the name of this guest. |
String |
getInitMem()
Gets the initial memory (storage) size. |
String |
getMaxMem()
|
String |
getPermissionClasses()
|
int |
hashCode()
Returns the hash code |
void |
setGroupName(String groupName)
Sets the group name of this guest object. |
void |
setGuestName(String guestName)
Sets the guest name of this guest object. |
void |
setInitMem(String initMem)
Sets the initial memory (storage) size. |
void |
setMaxMem(String maxMem)
|
void |
setPermissionClasses(String permissionClasses)
|
String |
toString()
Returns a readable description of the guest in the form guest name: group name |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private String guestName
private String groupName
private String permissionClasses
private String initMem
private String maxMem
Constructor Detail |
public Guest(String guestName, String groupName)
guestName
- Name of this guest.groupName
- Name of group this guest belongs to.public Guest(String guestName)
guestName
- Name of this guest.Method Detail |
public void setGuestName(String guestName)
guestName
- The name of this guest.public String getGuestName()
public void setGroupName(String groupName)
groupName
- The name of group this guest belongs to.public String getGroupName()
public boolean equals(Object b)
Object.equals(java.lang.Object)
public int hashCode()
public String toString()
Object.toString()
public void setPermissionClasses(String permissionClasses)
permissionClasses
- The permissionClasses to set.public String getPermissionClasses()
public void setInitMem(String initMem)
initMem
- The initial memory size to set.public String getInitMem()
public void setMaxMem(String maxMem)
maxMem
- The maxMem to set.public String getMaxMem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |