@Entity public class PlanDependencyImpl extends BambooEntityObject implements PlanDependency, Comparable<PlanDependencyImpl>
AUTOMATIC_DEP_KEY, DEFAULT_DEP_KEY
Constructor and Description |
---|
PlanDependencyImpl() |
PlanDependencyImpl(Plan parentPlan,
Plan childPlan) |
PlanDependencyImpl(String dependencyType,
Plan parentPlan,
Plan childPlan) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PlanDependencyImpl o) |
boolean |
equals(Object o) |
@Nullable Plan |
getChildPlan() |
String |
getDependencyType()
Get the unique key representing the dependency type.
|
@Nullable Plan |
getParentPlan() |
int |
hashCode() |
boolean |
isEditable()
Can the user edit this dependency?
|
void |
setChildPlan(Plan childPlan) |
void |
setDependencyType(String key) |
void |
setParentPlan(Plan parentPlan) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
@Nullable public @Nullable Plan getChildPlan()
getChildPlan
in interface PlanDependency
public void setChildPlan(Plan childPlan)
@Nullable public @Nullable Plan getParentPlan()
getParentPlan
in interface PlanDependency
public void setParentPlan(Plan parentPlan)
public boolean isEditable()
PlanDependency
isEditable
in interface PlanDependency
public String getDependencyType()
PlanDependency
getDependencyType
in interface PlanDependency
public void setDependencyType(String key)
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(PlanDependencyImpl o)
compareTo
in interface Comparable<PlanDependencyImpl>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.