public class PlanDependencyImpl extends BambooEntityObject implements PlanDependency, Comparable<PlanDependencyImpl>
id
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)
This method needs to be here in order to use proper id
|
Plan |
getChildPlan() |
String |
getDependencyType()
Get the unique key representing the dependency type.
|
Plan |
getParentPlan() |
int |
hashCode()
This method needs to be here in order to use proper id
|
boolean |
isEditable()
Can the user edit this dependency?
|
void |
setChildPlan(Plan childPlan) |
void |
setDependencyType(String key) |
void |
setParentPlan(Plan parentPlan) |
String |
toString() |
getId, setId
@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()
BambooEntityObject
hashCode
in class BambooEntityObject
public boolean equals(Object o)
BambooEntityObject
equals
in class BambooEntityObject
public int compareTo(PlanDependencyImpl o)
compareTo
in interface Comparable<PlanDependencyImpl>
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.