com.atlassian.bamboo.core
Class BambooEntityObject

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
All Implemented Interfaces:
BambooIdProvider, BambooObject, Cloneable
Direct Known Subclasses:
AbstractMutableDeploymentProjectItem, AbstractMutableDeploymentVersionItem, AbstractPlan, AgentAssignmentImpl, ArtifactDefinitionImpl, ArtifactSubscriptionImpl, AuditLogMessage, AuthorDataImpl, BambooTrustedApplicationImpl, BambooVcsBranchImpl, BandanaItem, BaseResultSummary, BranchCommitInformationImpl, BuildDefinitionXmlImpl, CapabilityImpl, CapabilitySetImpl, ChainStageImpl, ChainStageResultImpl, CommentImpl, CommitImpl, ConsumedSubscriptionImpl, CredentialsDataImpl, DefaultArtifactLink, DefaultProject, DeploymentVariableSubstitutionImpl, DeploymentVersionPlanResultKey, ElasticImageConfigurationImpl, ElasticInstanceScheduleImpl, EnvironmentRepositoryLinkImpl, FieldValueItem, InstantMessagingServerDefinitionImpl, JiraServerDefinitionImpl, LabelImpl, LabellingImpl, LinkedJiraIssueImpl, LoginInformationImpl, MergeResultSummaryImpl, MutableArtifactImpl, MutableDeploymentProjectImpl, MutableDeploymentResultImpl, MutableDeploymentVersionImpl, MutableDeploymentVersionLinkedJiraIssueImpl, MutableDeploymentVersionStatusImpl, MutableDeploymentVersionVcsChangesetImpl, MutableDeploymentVersionVcsCommitImpl, MutableEnvironmentImpl, MutableVersionNamingSchemeImpl, NotificationRuleImpl, NotificationSetImpl, PasswordResetTokenImpl, PipelineDefinitionImpl, PlanDependencyImpl, PlanRepositoryLinkImpl, PlanVcsRevisionHistoryItem, RemoteAgentAuthenticationImpl, RepositoryChangesetImpl, RepositoryDataEntityImpl, RequirementImpl, RequirementSetImpl, ScriptImpl, StageVariableContextImpl, TestCaseImpl, TestCaseResultErrorImpl, TestCaseResultImpl, TestClassImpl, TestClassResultImpl, VariableBaselineItemImpl, VariableContextBaselineImpl, VariableContextSnapshotImpl, VariableDefinitionImpl, VariableSubstitutionImpl

public class BambooEntityObject
extends com.atlassian.core.bean.EntityObject
implements BambooObject


Field Summary
protected  long id
           
 
Constructor Summary
BambooEntityObject()
           
 
Method Summary
 boolean equals(Object o)
          This method needs to be here in order to use proper id
 long getId()
           
 int hashCode()
          This method needs to be here in order to use proper id
 void setId(long id)
           
 
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
 

Field Detail

id

protected long id
Constructor Detail

BambooEntityObject

public BambooEntityObject()
Method Detail

getId

public long getId()
Specified by:
getId in interface BambooIdProvider
Overrides:
getId in class com.atlassian.core.bean.EntityObject

setId

public void setId(long id)
Specified by:
setId in interface BambooObject
Overrides:
setId in class com.atlassian.core.bean.EntityObject

hashCode

public int hashCode()
This method needs to be here in order to use proper id

Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

equals

public boolean equals(Object o)
This method needs to be here in order to use proper id

Overrides:
equals in class com.atlassian.core.bean.EntityObject


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.