com.atlassian.confluence.labels
Class Labelling

java.lang.Object
  extended bycom.atlassian.core.bean.EntityObject
      extended bycom.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

Constructor Summary
Labelling()
          Available so that newInstance can be used by hibernate to create this object.
Labelling(Label label, ContentEntityObject content, String user, String spaceKey)
           
 
Method Summary
 boolean equals(Object o)
           
 ContentEntityObject getContent()
          Getter for the content entity object associated with this labelling.
 Label getLabel()
           
 String getSpaceKey()
           
 String getUser()
           
 int hashCode()
           
 void setSpaceKey(String spaceKey)
           
 String toString()
           
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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()


Confluence is developed by Atlassian.