Search in sources :

Example 11 with InputData

use of org.kie.dmn.model.v1_1.InputData in project drools by kiegroup.

the class InputDataConverter method assignChildElement.

@Override
protected void assignChildElement(Object parent, String nodeName, Object child) {
    super.assignChildElement(parent, nodeName, child);
    InputData id = (InputData) parent;
    if (VARIABLE.equals(nodeName)) {
        id.setVariable((InformationItem) child);
    } else {
        super.assignChildElement(parent, nodeName, child);
    }
}
Also used : TInputData(org.kie.dmn.model.v1_1.TInputData) InputData(org.kie.dmn.model.api.InputData)

Aggregations

InputData (org.kie.workbench.common.dmn.api.definition.v1_1.InputData)6 Decision (org.kie.workbench.common.dmn.api.definition.v1_1.Decision)4 KnowledgeSource (org.kie.workbench.common.dmn.api.definition.v1_1.KnowledgeSource)4 View (org.kie.workbench.common.stunner.core.graph.content.view.View)4 InputData (org.kie.dmn.model.api.InputData)3 BusinessKnowledgeModel (org.kie.workbench.common.dmn.api.definition.v1_1.BusinessKnowledgeModel)3 List (java.util.List)2 Definitions (org.kie.dmn.model.api.Definitions)2 KieDMNModelInstrumentedBase (org.kie.dmn.model.v1_1.KieDMNModelInstrumentedBase)2 TDefinitions (org.kie.dmn.model.v1_1.TDefinitions)2 TInputData (org.kie.dmn.model.v1_1.TInputData)2 DRGElement (org.kie.workbench.common.dmn.api.definition.v1_1.DRGElement)2 TextAnnotation (org.kie.workbench.common.dmn.api.definition.v1_1.TextAnnotation)2 Id (org.kie.workbench.common.dmn.api.property.dmn.Id)2 DMNShape (org.kie.workbench.common.dmn.backend.definition.v1_1.dd.DMNShape)2 Edge (org.kie.workbench.common.stunner.core.graph.Edge)2 XStream (com.thoughtworks.xstream.XStream)1 TypeHierarchyPermission (com.thoughtworks.xstream.security.TypeHierarchyPermission)1 ApplicationScoped (javax.enterprise.context.ApplicationScoped)1 QName (javax.xml.namespace.QName)1