Search in sources :

Example 1 with DecisionOwnedReference

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

the class DecisionOwnedReferenceImpl method registerType.

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

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

Aggregations

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