|
||||||||||
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 Object
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Object getId()
PersistentGroup
getId
in interface PersistentGroup
public void setId(Object id)
PersistentGroup
setId
in interface PersistentGroup
id
- the group id.public String getName()
PersistentGroup
getName
in interface PersistentGroup
public void setName(String name)
PersistentGroup
setName
in interface PersistentGroup
name
- the group name.public String getPassword()
PersistentGroup
getPassword
in interface PersistentGroup
public void setPassword(String pswd)
PersistentGroup
setPassword
in interface PersistentGroup
pswd
- the password.public String getHangword()
PersistentGroup
getHangword
in interface PersistentGroup
public void setHangword(String pswd)
PersistentGroup
setHangword
in interface PersistentGroup
pswd
- the hangword.public String getDescription()
PersistentGroup
getDescription
in interface PersistentGroup
public void setDescription(String descr)
PersistentGroup
setDescription
in interface PersistentGroup
descr
- the description.public Object getUserId()
PersistentGroup
getUserId
in interface PersistentGroup
public void setUserId(Object uid)
PersistentGroup
setUserId
in interface PersistentGroup
uid
- the user id.public PersistentUser getUser()
PersistentGroup
getUser
in interface PersistentGroup
PersistentUser
instance.public void setUser(PersistentUser user)
PersistentGroup
setUser
in interface PersistentGroup
user
- the user as a PersistentUser
instance.public Collection<PersistentUser> getMembers()
PersistentGroup
getMembers
in interface PersistentGroup
PersistentUser
instances.public void setMembers(Collection<PersistentUser> members)
PersistentGroup
setMembers
in interface PersistentGroup
members
- the members as a collection of PersistentUser
instances.public Collection<PersistentGroup> getParents()
PersistentGroup
getParents
in interface PersistentGroup
PersistentGroup
instances.public void setParents(Collection<PersistentGroup> groups)
PersistentGroup
setParents
in interface PersistentGroup
groups
- the groups as a collection of PersistentGroup
instances.public Collection<PersistentGroup> getChildren()
PersistentGroup
getChildren
in interface PersistentGroup
PersistentPersistent
instances.public void setChildren(Collection<PersistentGroup> groups)
PersistentGroup
setChildren
in interface PersistentGroup
groups
- the groups as a collection of PersistentGroup
instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |