com.atlassian.confluence.labels
Class Labelling
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.labels.Labelling
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Labelling
- extends com.atlassian.core.bean.EntityObject
- implements java.io.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,
java.lang.String user,
java.lang.String spaceKey)
|
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 |
Labelling
public Labelling(Label label,
ContentEntityObject content,
java.lang.String user,
java.lang.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 java.lang.String getUser()
getSpaceKey
public java.lang.String getSpaceKey()
setSpaceKey
public void setSpaceKey(java.lang.String spaceKey)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.atlassian.core.bean.EntityObject
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.core.bean.EntityObject
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.