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 int
compareTo(Label o)
boolean
equals(Object o)
Collection
getLabellings()
String
getName()
String
getNamespace()
int
hashCode()
void
setLabellings(Collection labellings)
void
setName(String name)
void
setNamespace(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:
getNamespace
in interfaceLabel
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespace
in interfaceLabel
-
getLabellings
public Collection getLabellings()
-
setLabellings
public void setLabellings(Collection labellings)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(Label o)
- Specified by:
compareTo
in interfaceComparable<Label>
-
-