Search in sources :

Example 1 with ImpactingDecisionReference

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

the class ImpactingDecisionReferenceImpl method registerType.

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

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

Aggregations

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