public abstract class Tag extends Object implements Serializable, TagName, Followable
| Modifier and Type | Class and Description |
|---|---|
static class |
Tag.Factory
Constructs new instances of
Tag. |
| Constructor and Description |
|---|
Tag() |
| 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 Tag instance and all identifiers for this
entity equal the identifiers of the argument entity. |
String |
getDefaultName() |
Set<Message> |
getDescriptions() |
abstract GlobalId |
getFollowId() |
GlobalId |
getGlobalId() |
Long |
getId() |
abstract String |
getName()
The name of the tag
|
Set<Message> |
getNames() |
String |
getTagStoreAlias()
Alias of the tag store this tag is part of.
|
String |
getTagStoreTagId()
The lower name of the tag
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setDefaultName(String defaultName) |
void |
setDescriptions(Set<Message> descriptions) |
void |
setGlobalId(GlobalId globalId) |
void |
setId(Long id) |
void |
setNames(Set<Message> names) |
void |
setTagStoreAlias(String tagStoreAlias) |
void |
setTagStoreTagId(String tagStoreTagId) |
public String attributesToString()
public boolean equals(Object object)
true if the argument is an Tag instance and all identifiers for this
entity equal the identifiers of the argument entity. Returns false otherwise.public String getDefaultName()
public abstract GlobalId getFollowId()
getFollowId in interface Followablepublic GlobalId getGlobalId()
getGlobalId in interface GlobalIdentifiablepublic Long getId()
public abstract String getName()
The name of the tag
public String getTagStoreAlias()
Alias of the tag store this tag is part of.
public String getTagStoreTagId()
The lower name of the tag
public int hashCode()
public void setDefaultName(String defaultName)
public void setGlobalId(GlobalId globalId)
setGlobalId in interface GlobalIdentifiablepublic void setId(Long id)
public void setTagStoreAlias(String tagStoreAlias)
public void setTagStoreTagId(String tagStoreTagId)
Copyright © 2019 Communote team. All rights reserved.