Search in sources :

Example 1 with DecisionOwnerReference

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

the class DecisionOwnerReferenceImpl method registerType.

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

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

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