Search in sources :

Example 16 with TextAnnotation

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

the class TextAnnotationConverter method assignAttributes.

@Override
protected void assignAttributes(HierarchicalStreamReader reader, Object parent) {
    super.assignAttributes(reader, parent);
    TextAnnotation ta = (TextAnnotation) parent;
    String textFormat = reader.getAttribute(TEXT_FORMAT);
    ta.setTextFormat(textFormat);
}
Also used : TextAnnotation(org.kie.dmn.model.api.TextAnnotation) TTextAnnotation(org.kie.dmn.model.v1_2.TTextAnnotation)

Aggregations

TextAnnotation (org.kie.dmn.model.api.TextAnnotation)16 Artifact (org.kie.dmn.model.api.Artifact)4 Association (org.kie.dmn.model.api.Association)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 DecisionService (org.kie.dmn.model.api.DecisionService)3 TTextAnnotation (org.kie.dmn.model.v1_1.TTextAnnotation)3 TTextAnnotation (org.kie.dmn.model.v1_2.TTextAnnotation)3 TTextAnnotation (org.kie.dmn.model.v1_3.TTextAnnotation)3 TTextAnnotation (org.kie.dmn.model.v1_4.TTextAnnotation)3