Search in sources :

Example 16 with Association

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

the class AssociationConverter method writeAttributes.

@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
    super.writeAttributes(writer, parent);
    Association a = (Association) parent;
    if (a.getAssociationDirection() != null)
        writer.addAttribute(ASSOCIATION_DIRECTION, a.getAssociationDirection().value());
}
Also used : Association(org.kie.dmn.model.api.Association) TAssociation(org.kie.dmn.model.v1_4.TAssociation)

Aggregations

Association (org.kie.dmn.model.api.Association)16 Artifact (org.kie.dmn.model.api.Artifact)4 BusinessContextElement (org.kie.dmn.model.api.BusinessContextElement)4 BusinessKnowledgeModel (org.kie.dmn.model.api.BusinessKnowledgeModel)4 DRGElement (org.kie.dmn.model.api.DRGElement)4 Decision (org.kie.dmn.model.api.Decision)4 Definitions (org.kie.dmn.model.api.Definitions)4 ElementCollection (org.kie.dmn.model.api.ElementCollection)4 Import (org.kie.dmn.model.api.Import)4 InputData (org.kie.dmn.model.api.InputData)4 ItemDefinition (org.kie.dmn.model.api.ItemDefinition)4 KnowledgeSource (org.kie.dmn.model.api.KnowledgeSource)4 OrganizationUnit (org.kie.dmn.model.api.OrganizationUnit)4 PerformanceIndicator (org.kie.dmn.model.api.PerformanceIndicator)4 TextAnnotation (org.kie.dmn.model.api.TextAnnotation)4 DecisionService (org.kie.dmn.model.api.DecisionService)3 TAssociation (org.kie.dmn.model.v1_1.TAssociation)3 TAssociation (org.kie.dmn.model.v1_2.TAssociation)3 TAssociation (org.kie.dmn.model.v1_3.TAssociation)3 TAssociation (org.kie.dmn.model.v1_4.TAssociation)3