Search in sources :

Example 6 with Group

use of org.kie.dmn.model.api.Group in project drools by kiegroup.

the class GroupConverter method writeAttributes.

@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
    super.writeAttributes(writer, parent);
    Group grp = (Group) parent;
    if (grp.getName() != null) {
        writer.addAttribute(NAME, grp.getName());
    }
}
Also used : TGroup(org.kie.dmn.model.v1_3.TGroup) Group(org.kie.dmn.model.api.Group)

Aggregations

Group (org.kie.dmn.model.api.Group)6 Artifact (org.kie.dmn.model.api.Artifact)2 Association (org.kie.dmn.model.api.Association)2 BusinessContextElement (org.kie.dmn.model.api.BusinessContextElement)2 BusinessKnowledgeModel (org.kie.dmn.model.api.BusinessKnowledgeModel)2 DRGElement (org.kie.dmn.model.api.DRGElement)2 Decision (org.kie.dmn.model.api.Decision)2 DecisionService (org.kie.dmn.model.api.DecisionService)2 Definitions (org.kie.dmn.model.api.Definitions)2 ElementCollection (org.kie.dmn.model.api.ElementCollection)2 Import (org.kie.dmn.model.api.Import)2 InputData (org.kie.dmn.model.api.InputData)2 ItemDefinition (org.kie.dmn.model.api.ItemDefinition)2 KnowledgeSource (org.kie.dmn.model.api.KnowledgeSource)2 OrganizationUnit (org.kie.dmn.model.api.OrganizationUnit)2 PerformanceIndicator (org.kie.dmn.model.api.PerformanceIndicator)2 TextAnnotation (org.kie.dmn.model.api.TextAnnotation)2 TGroup (org.kie.dmn.model.v1_3.TGroup)2 TGroup (org.kie.dmn.model.v1_4.TGroup)2 TDefinitions (org.kie.dmn.model.v1_3.TDefinitions)1