Package com.atlassian.bamboo.labels
Class LabelImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
-
- com.atlassian.bamboo.labels.LabelImpl
-
- All Implemented Interfaces:
BambooIdProvider,BambooObject,Label,CreationDateProvider,Cloneable,Comparable<Label>
@Entity public class LabelImpl extends HibernateBambooEntityObject implements Label
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Label o)booleanequals(Object o)CollectiongetLabellings()StringgetName()StringgetNamespace()inthashCode()voidsetLabellings(Collection labellings)voidsetName(String name)voidsetNamespace(String namespace)-
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setId
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface com.atlassian.bamboo.labels.Label
getCreationDate, getLastModificationDate, setCreationDate, setLastModificationDate
-
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceLabel
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespacein interfaceLabel
-
getLabellings
public Collection getLabellings()
-
setLabellings
public void setLabellings(Collection labellings)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(Label o)
- Specified by:
compareToin interfaceComparable<Label>
-
-