public String toString() {
return "IF INSTRUCTION:"; //$NON-NLS-1$
}
public PlanNode getDescriptionProperties() {
PlanNode props = new PlanNode("IF"); //$NON-NLS-1$
props.addProperty(PROP_CRITERIA, this.condition.toString());
props.addProperty(PROP_THEN, this.ifProgram.getDescriptionProperties());
if(elseProgram != null) {
props.addProperty(PROP_ELSE, this.elseProgram.getDescriptionProperties());
}
return props;
}