Search in sources :

Example 1 with DecisionMakerReference

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

the class DecisionMakerReferenceImpl method registerType.

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

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

Aggregations

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