com.atlassian.bamboo.labels
Class LabelImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.labels.LabelImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, Label, java.lang.Cloneable, java.lang.Comparable<Label>

public class LabelImpl
extends BambooEntityObject
implements Label


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
LabelImpl()
           
LabelImpl(java.lang.String name, java.lang.String namespace)
           
 
Method Summary
 int compareTo(Label o)
           
 boolean equals(java.lang.Object o)
          This method needs to be here in order to use proper id
 java.util.Collection getLabellings()
           
 java.lang.String getName()
           
 java.lang.String getNamespace()
           
 int hashCode()
          This method needs to be here in order to use proper id
 void setLabellings(java.util.Collection labellings)
           
 void setName(java.lang.String name)
           
 void setNamespace(java.lang.String namespace)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
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.labels.Label
getCreationDate, getLastModificationDate, setCreationDate, setLastModificationDate
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

LabelImpl

public LabelImpl()

LabelImpl

public LabelImpl(java.lang.String name,
                 java.lang.String namespace)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Label

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Label

getNamespace

public java.lang.String getNamespace()
Specified by:
getNamespace in interface Label

setNamespace

public void setNamespace(java.lang.String namespace)
Specified by:
setNamespace in interface Label

getLabellings

public java.util.Collection getLabellings()

setLabellings

public void setLabellings(java.util.Collection labellings)

hashCode

public int hashCode()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject

equals

public boolean equals(java.lang.Object o)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

compareTo

public int compareTo(Label o)
Specified by:
compareTo in interface java.lang.Comparable<Label>


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.