Search in sources :

Example 1 with DecisionMadeReference

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

the class DecisionMadeReferenceImpl method registerType.

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

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

Aggregations

DecisionMadeReference (org.camunda.bpm.model.dmn.instance.DecisionMadeReference)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