Search in sources :

Example 1 with RequiredDecisionReference

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

the class RequiredDecisionReferenceImpl method registerType.

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

        public RequiredDecisionReference newInstance(ModelTypeInstanceContext instanceContext) {
            return new RequiredDecisionReferenceImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : RequiredDecisionReference(org.camunda.bpm.model.dmn.instance.RequiredDecisionReference) 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

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