public class ConditionalPlan extends Plan
| Constructor and Description |
|---|
ConditionalPlan(Plan condition,
Plan consequent,
Plan alternative) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(PlanVisitor visitor) |
Plan |
getAlternative() |
Plan |
getCondition() |
Plan |
getConsequent() |
void |
setAlternative(Plan alternative) |
void |
setCondition(Plan condition) |
void |
setConsequent(Plan consequent) |
getLocation, setLocation, toStringpublic Plan getCondition()
public void setCondition(Plan condition)
public Plan getConsequent()
public void setConsequent(Plan consequent)
public Plan getAlternative()
public void setAlternative(Plan alternative)
public void acceptVisitor(PlanVisitor visitor)
acceptVisitor in class PlanCopyright © 2019. All rights reserved.