com.atlassian.confluence.labels
Class Labelling
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.labels.Labelling
- All Implemented Interfaces:
- Cloneable, Serializable
- public class Labelling
- extends EntityObject
- implements Serializable
An essentially immutable object that represents the link between labels and the content they label.
- See Also:
- Serialized Form
Labelling
public Labelling(Label label,
ContentEntityObject content,
String user,
String spaceKey)
Labelling
public Labelling()
- Available so that newInstance can be used by hibernate to create this object.
getContent
public ContentEntityObject getContent()
- Getter for the content entity object associated with this labelling.
- Returns:
- content
getLabel
public Label getLabel()
getUser
public String getUser()
getSpaceKey
public String getSpaceKey()
setSpaceKey
public void setSpaceKey(String spaceKey)
equals
public boolean equals(Object o)
hashCode
public int hashCode()
toString
public String toString()