Package com.atlassian.bamboo.bandana
Class BandanaItem
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.hibernate.HibernateEntityObject
-
- com.atlassian.bamboo.bandana.BandanaItem
-
- All Implemented Interfaces:
Cloneable
,Comparable<BandanaItem>
@Entity public class BandanaItem extends HibernateEntityObject implements Comparable<BandanaItem>
-
-
Constructor Summary
Constructors Constructor Description BandanaItem()
BandanaItem(BambooBandanaContext bandanaContext, String key, String serializedData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BandanaItem o)
boolean
equals(Object o)
long
getBuildId()
long
getChainId()
String
getKey()
String
getSerializedData()
int
hashCode()
void
setBuildId(long buildId)
void
setChainId(long chainId)
void
setKey(String key)
void
setSerializedData(String serializedData)
-
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateEntityObject
getId, setId
-
-
-
-
Constructor Detail
-
BandanaItem
public BandanaItem()
-
BandanaItem
public BandanaItem(BambooBandanaContext bandanaContext, String key, String serializedData)
-
-
Method Detail
-
getBuildId
public long getBuildId()
-
setBuildId
public void setBuildId(long buildId)
-
getChainId
public long getChainId()
-
setChainId
public void setChainId(long chainId)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getSerializedData
public String getSerializedData()
-
setSerializedData
public void setSerializedData(String serializedData)
-
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(BandanaItem o)
- Specified by:
compareTo
in interfaceComparable<BandanaItem>
-
-