use of org.kie.dmn.trisotech.model.v1_3.TNamedExpression in project drools by kiegroup.
the class FilterConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Filter filter = (Filter) parent;
writeChildrenNode(writer, context, new TNamedExpression(IN, filter.getIn()), IN);
writeChildrenNode(writer, context, new TNamedExpression(MATCH, filter.getMatch()), MATCH);
}
use of org.kie.dmn.trisotech.model.v1_3.TNamedExpression 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);
}
use of org.kie.dmn.trisotech.model.v1_3.TNamedExpression in project drools by kiegroup.
the class IteratorConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Iterator it = (Iterator) parent;
writeChildrenNode(writer, context, new TNamedExpression(IN, it.getIn(), it.getTypeRef()), IN);
writeChildrenNode(writer, context, new TNamedExpression(RETURN, it.getReturn()), RETURN);
}
Aggregations