|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.root.realm.SimplePersistentGroup
public class SimplePersistentGroup
The default implementation of PersistentGroup.
| Constructor Summary | |
|---|---|
SimplePersistentGroup()
The default constructor. |
|
SimplePersistentGroup(String name)
Constructs a new group. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
boolean |
equals(Object other)
|
Collection<PersistentGroup> |
getChildren()
Gets the children of the group. |
String |
getDescription()
Gets the description of the group. |
String |
getHangword()
Gets the hangword of the group. |
Object |
getId()
Gets the unique id of the group. |
Collection<PersistentUser> |
getMembers()
Gets the members of the group. |
String |
getName()
Gets the name of the group. |
Collection<PersistentGroup> |
getParents()
Gets the parents of the group. |
String |
getPassword()
Gets the password of the group. |
PersistentUser |
getUser()
Gets the user of the group. |
Object |
getUserId()
Gets the user id of the group. |
int |
hashCode()
|
void |
setChildren(Collection<PersistentGroup> groups)
Sets the children of the group. |
void |
setDescription(String descr)
Sets the description of the group. |
void |
setHangword(String pswd)
Sets the hangword of the group. |
void |
setId(Object id)
Sets the unique id of the group. |
void |
setMembers(Collection<PersistentUser> members)
Sets the members of the group. |
void |
setName(String name)
Sets the name of the group. |
void |
setParents(Collection<PersistentGroup> groups)
Sets the parents of the group. |
void |
setPassword(String pswd)
Sets the password of the group. |
void |
setUser(PersistentUser user)
Sets the user of the group. |
void |
setUserId(Object uid)
Sets the user id of the group. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimplePersistentGroup()
public SimplePersistentGroup(String name)
name - the group name.| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic Object getId()
PersistentGroup
getId in interface PersistentGrouppublic void setId(Object id)
PersistentGroup
setId in interface PersistentGroupid - the group id.public String getName()
PersistentGroup
getName in interface PersistentGrouppublic void setName(String name)
PersistentGroup
setName in interface PersistentGroupname - the group name.public String getPassword()
PersistentGroup
getPassword in interface PersistentGrouppublic void setPassword(String pswd)
PersistentGroup
setPassword in interface PersistentGrouppswd - the password.public String getHangword()
PersistentGroup
getHangword in interface PersistentGrouppublic void setHangword(String pswd)
PersistentGroup
setHangword in interface PersistentGrouppswd - the hangword.public String getDescription()
PersistentGroup
getDescription in interface PersistentGrouppublic void setDescription(String descr)
PersistentGroup
setDescription in interface PersistentGroupdescr - the description.public Object getUserId()
PersistentGroup
getUserId in interface PersistentGrouppublic void setUserId(Object uid)
PersistentGroup
setUserId in interface PersistentGroupuid - the user id.public PersistentUser getUser()
PersistentGroup
getUser in interface PersistentGroupPersistentUser instance.public void setUser(PersistentUser user)
PersistentGroup
setUser in interface PersistentGroupuser - the user as a PersistentUser instance.public Collection<PersistentUser> getMembers()
PersistentGroup
getMembers in interface PersistentGroupPersistentUser
instances.public void setMembers(Collection<PersistentUser> members)
PersistentGroup
setMembers in interface PersistentGroupmembers - the members as a collection of PersistentUser
instances.public Collection<PersistentGroup> getParents()
PersistentGroup
getParents in interface PersistentGroupPersistentGroup
instances.public void setParents(Collection<PersistentGroup> groups)
PersistentGroup
setParents in interface PersistentGroupgroups - the groups as a collection of PersistentGroup
instances.public Collection<PersistentGroup> getChildren()
PersistentGroup
getChildren in interface PersistentGroupPersistentPersistent
instances.public void setChildren(Collection<PersistentGroup> groups)
PersistentGroup
setChildren in interface PersistentGroupgroups - the groups as a collection of PersistentGroup
instances.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||