Search in sources :

Example 1 with InputDecisionReference

use of org.camunda.bpm.model.dmn.instance.InputDecisionReference in project camunda-dmn-model by camunda.

the class InputDecisionReferenceImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputDecisionReference.class, DMN_ELEMENT_INPUT_DECISION_REFERENCE).namespaceUri(DMN11_NS).extendsType(DmnElementReference.class).instanceProvider(new ModelTypeInstanceProvider<InputDecisionReference>() {

        public InputDecisionReference newInstance(ModelTypeInstanceContext instanceContext) {
            return new InputDecisionReferenceImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) InputDecisionReference(org.camunda.bpm.model.dmn.instance.InputDecisionReference) DmnElementReference(org.camunda.bpm.model.dmn.instance.DmnElementReference) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Aggregations

DmnElementReference (org.camunda.bpm.model.dmn.instance.DmnElementReference)1 InputDecisionReference (org.camunda.bpm.model.dmn.instance.InputDecisionReference)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1