use of org.kie.dmn.trisotech.model.api.Conditional in project drools by kiegroup.
the class ConditionalConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Conditional cond = (Conditional) parent;
writeChildrenNode(writer, context, new TNamedExpression(IF, cond.getIf()), IF);
writeChildrenNode(writer, context, new TNamedExpression(THEN, cond.getThen()), THEN);
writeChildrenNode(writer, context, new TNamedExpression(ELSE, cond.getElse()), ELSE);
}
Aggregations