use of org.kie.dmn.model.api.AuthorityRequirement in project drools by kiegroup.
the class KnowledgeSourceConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
KnowledgeSource ks = (KnowledgeSource) parent;
for (AuthorityRequirement ar : ks.getAuthorityRequirement()) {
writeChildrenNode(writer, context, ar, AUTHORITY_REQUIREMENT);
}
if (ks.getType() != null)
writeChildrenNode(writer, context, ks.getType(), TYPE);
if (ks.getOwner() != null)
writeChildrenNode(writer, context, ks.getOwner(), OWNER);
}
Aggregations