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, setTags
public String attributesToString()
attributesToString
in class CommunoteEntity
public boolean equals(Object object)
com.communote.server.persistence.user.KenmeiEntityImpl
class it will simply
delegate the call up there.equals
in class CommunoteEntity
CommunoteEntity.equals(Object)
public String getAlias()
CommunoteEntity
Return the alias either of group or of user
getAlias
in class CommunoteEntity
public String getDescription()
A short description of the group.
public GlobalId getFollowId()
getFollowId
in interface Followable
getFollowId
in class CommunoteEntity
public Set<CommunoteEntity> getGroupMembers()
public String getName()
Human readable name of the group.
public Set<GroupProperty> getProperties()
CommunoteEntity
Properties
getProperties
in interface Propertyable
getProperties
in class CommunoteEntity
public int hashCode()
com.communote.server.persistence.user.KenmeiEntityImpl
class it will simply
delegate the call up there.hashCode
in class CommunoteEntity
CommunoteEntity.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.