public class Group extends CommunoteEntity
A group which can contain users or other groups.
| Modifier and Type | Class and Description |
|---|---|
static class |
Group.Factory
Constructs new instances of
Group. |
| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
This entity does not have any identifiers but since it extends the
com.communote.server.persistence.user.KenmeiEntityImpl class it will simply
delegate the call up there. |
String |
getAlias()
Return the alias either of group or of user
|
String |
getDescription()
A short description of the group.
|
GlobalId |
getFollowId() |
Set<CommunoteEntity> |
getGroupMembers() |
String |
getName()
Human readable name of the group.
|
Set<GroupProperty> |
getProperties()
Properties
|
int |
hashCode()
This entity does not have any identifiers but since it extends the
com.communote.server.persistence.user.KenmeiEntityImpl class it will simply
delegate the call up there. |
void |
setAlias(String alias) |
void |
setDescription(String description) |
void |
setGroupMembers(Set<CommunoteEntity> groupMembers) |
void |
setName(String name) |
void |
setProperties(Set<GroupProperty> properties) |
getGlobalId, getGroups, getId, getMemberships, getTags, setGlobalId, setGroups, setId, setMemberships, setTagspublic String attributesToString()
attributesToString in class CommunoteEntitypublic boolean equals(Object object)
com.communote.server.persistence.user.KenmeiEntityImpl class it will simply
delegate the call up there.equals in class CommunoteEntityCommunoteEntity.equals(Object)public String getAlias()
CommunoteEntityReturn the alias either of group or of user
getAlias in class CommunoteEntitypublic String getDescription()
A short description of the group.
public GlobalId getFollowId()
getFollowId in interface FollowablegetFollowId in class CommunoteEntitypublic Set<CommunoteEntity> getGroupMembers()
public String getName()
Human readable name of the group.
public Set<GroupProperty> getProperties()
CommunoteEntityProperties
getProperties in interface PropertyablegetProperties in class CommunoteEntitypublic int hashCode()
com.communote.server.persistence.user.KenmeiEntityImpl class it will simply
delegate the call up there.hashCode in class CommunoteEntityCommunoteEntity.hashCode()public void setAlias(String alias)
public void setDescription(String description)
public void setGroupMembers(Set<CommunoteEntity> groupMembers)
public void setName(String name)
public void setProperties(Set<GroupProperty> properties)
Copyright © 2019 Communote team. All rights reserved.