Search in sources :

Example 11 with KnowledgeSource

use of org.kie.workbench.common.dmn.api.definition.v1_1.KnowledgeSource in project drools by kiegroup.

the class KnowledgeSourceConverter method writeAttributes.

@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
    super.writeAttributes(writer, parent);
    KnowledgeSource ks = (KnowledgeSource) parent;
    if (ks.getLocationURI() != null)
        writer.addAttribute(LOCATION_URI, ks.getLocationURI());
}
Also used : KnowledgeSource(org.kie.dmn.model.v1_1.KnowledgeSource)

Aggregations

KnowledgeSource (org.kie.workbench.common.dmn.api.definition.v1_1.KnowledgeSource)7 View (org.kie.workbench.common.stunner.core.graph.content.view.View)6 BusinessKnowledgeModel (org.kie.workbench.common.dmn.api.definition.v1_1.BusinessKnowledgeModel)5 Decision (org.kie.workbench.common.dmn.api.definition.v1_1.Decision)5 InputData (org.kie.workbench.common.dmn.api.definition.v1_1.InputData)5 Edge (org.kie.workbench.common.stunner.core.graph.Edge)5 List (java.util.List)4 DRGElement (org.kie.workbench.common.dmn.api.definition.v1_1.DRGElement)4 KnowledgeSource (org.kie.dmn.model.v1_1.KnowledgeSource)3 TextAnnotation (org.kie.workbench.common.dmn.api.definition.v1_1.TextAnnotation)3 Id (org.kie.workbench.common.dmn.api.property.dmn.Id)3 DMNShape (org.kie.workbench.common.dmn.backend.definition.v1_1.dd.DMNShape)3 ApplicationScoped (javax.enterprise.context.ApplicationScoped)2 Association (org.kie.workbench.common.dmn.api.definition.v1_1.Association)2 BackgroundSet (org.kie.workbench.common.dmn.api.property.background.BackgroundSet)2 RectangleDimensionsSet (org.kie.workbench.common.dmn.api.property.dimensions.RectangleDimensionsSet)2 Description (org.kie.workbench.common.dmn.api.property.dmn.Description)2 FontSet (org.kie.workbench.common.dmn.api.property.font.FontSet)2 Bounds (org.kie.workbench.common.dmn.backend.definition.v1_1.dd.org.omg.spec.CMMN_20151109_DC.Bounds)2 Node (org.kie.workbench.common.stunner.core.graph.Node)2