public abstract class CommunoteEntity extends Object implements Serializable, Followable, Propertyable, Taggable
| Constructor and Description |
|---|
CommunoteEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an CommunoteEntity instance and all identifiers
for this entity equal the identifiers of the argument entity. |
abstract String |
getAlias()
Return the alias either of group or of user
|
abstract GlobalId |
getFollowId() |
GlobalId |
getGlobalId() |
Set<Group> |
getGroups() |
Long |
getId() |
Set<BlogMember> |
getMemberships() |
abstract Set<? extends StringProperty> |
getProperties()
Properties
|
Set<Tag> |
getTags() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setGlobalId(GlobalId globalId) |
void |
setGroups(Set<Group> groups) |
void |
setId(Long id) |
void |
setMemberships(Set<BlogMember> memberships) |
void |
setTags(Set<Tag> tags) |
public String attributesToString()
public boolean equals(Object object)
true if the argument is an CommunoteEntity instance and all identifiers
for this entity equal the identifiers of the argument entity. Returns false
otherwise.public abstract String getAlias()
Return the alias either of group or of user
public abstract GlobalId getFollowId()
getFollowId in interface Followablepublic GlobalId getGlobalId()
getGlobalId in interface GlobalIdentifiablepublic Long getId()
public Set<BlogMember> getMemberships()
public abstract Set<? extends StringProperty> getProperties()
Properties
getProperties in interface Propertyablepublic int hashCode()
public void setGlobalId(GlobalId globalId)
setGlobalId in interface GlobalIdentifiablepublic void setId(Long id)
public void setMemberships(Set<BlogMember> memberships)
Copyright © 2019 Communote team. All rights reserved.