use of org.kie.dmn.model.api.RuleAnnotation in project drools by kiegroup.
the class DecisionRuleConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
DecisionRule dr = (DecisionRule) parent;
for (UnaryTests ie : dr.getInputEntry()) {
writeChildrenNode(writer, context, ie, INPUT_ENTRY);
}
for (LiteralExpression oe : dr.getOutputEntry()) {
writeChildrenNode(writer, context, oe, OUTPUT_ENTRY);
}
for (RuleAnnotation a : dr.getAnnotationEntry()) {
writeChildrenNode(writer, context, a, ANNOTATION_ENTRY);
}
}
use of org.kie.dmn.model.api.RuleAnnotation in project drools by kiegroup.
the class DecisionRuleConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
DecisionRule dr = (DecisionRule) parent;
for (UnaryTests ie : dr.getInputEntry()) {
writeChildrenNode(writer, context, ie, INPUT_ENTRY);
}
for (LiteralExpression oe : dr.getOutputEntry()) {
writeChildrenNode(writer, context, oe, OUTPUT_ENTRY);
}
for (RuleAnnotation a : dr.getAnnotationEntry()) {
writeChildrenNode(writer, context, a, ANNOTATION_ENTRY);
}
}
use of org.kie.dmn.model.api.RuleAnnotation in project drools by kiegroup.
the class RuleAnnotationConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
RuleAnnotation r = (RuleAnnotation) parent;
writeChildrenNode(writer, context, r.getText(), TEXT);
}
use of org.kie.dmn.model.api.RuleAnnotation in project drools by kiegroup.
the class DecisionRuleConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
DecisionRule dr = (DecisionRule) parent;
for (UnaryTests ie : dr.getInputEntry()) {
writeChildrenNode(writer, context, ie, INPUT_ENTRY);
}
for (LiteralExpression oe : dr.getOutputEntry()) {
writeChildrenNode(writer, context, oe, OUTPUT_ENTRY);
}
for (RuleAnnotation a : dr.getAnnotationEntry()) {
writeChildrenNode(writer, context, a, ANNOTATION_ENTRY);
}
}
use of org.kie.dmn.model.api.RuleAnnotation in project drools by kiegroup.
the class RuleAnnotationConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
RuleAnnotation r = (RuleAnnotation) parent;
writeChildrenNode(writer, context, r.getText(), TEXT);
}
Aggregations