com.atlassian.bamboo.bandana
Class BandanaItem

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

public class BandanaItem
extends BambooEntityObject
implements java.lang.Comparable<BandanaItem>


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
BandanaItem()
           
BandanaItem(BambooBandanaContext bandanaContext, java.lang.String key, java.lang.String serializedData)
           
 
Method Summary
 int compareTo(BandanaItem o)
           
 boolean equals(java.lang.Object o)
          This method needs to be here in order to use proper id
 long getBuildId()
           
 java.lang.String getKey()
           
 java.lang.String getSerializedData()
           
 int hashCode()
          This method needs to be here in order to use proper id
 void setBuildId(long buildId)
           
 void setKey(java.lang.String key)
           
 void setSerializedData(java.lang.String serializedData)
           
 
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
 

Constructor Detail

BandanaItem

public BandanaItem()

BandanaItem

public BandanaItem(BambooBandanaContext bandanaContext,
                   java.lang.String key,
                   java.lang.String serializedData)
Method Detail

getBuildId

public long getBuildId()

setBuildId

public void setBuildId(long buildId)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getSerializedData

public java.lang.String getSerializedData()

setSerializedData

public void setSerializedData(java.lang.String serializedData)

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(BandanaItem o)
Specified by:
compareTo in interface java.lang.Comparable<BandanaItem>


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