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:
BambooObject, Label, java.lang.Cloneable

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(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.util.Collection getLabellings()
           
 java.lang.String getName()
           
 java.lang.String getNamespace()
           
 int hashCode()
           
 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
getId, setId
 

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()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.atlassian.core.bean.EntityObject

compareTo

public int compareTo(java.lang.Object obj)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.