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) |
Plan |
getChildPlan() |
String |
getDependencyType()
Get the unique key representing the dependency type.
|
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 Plan getChildPlan()
getChildPlan
in interface PlanDependency
public void setChildPlan(Plan childPlan)
@Nullable public 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.