Search in sources :

Example 1 with OwnerReference

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

the class OwnerReferenceImpl method registerType.

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

        public OwnerReference newInstance(ModelTypeInstanceContext instanceContext) {
            return new OwnerReferenceImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : OwnerReference(org.camunda.bpm.model.dmn.instance.OwnerReference) 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 OwnerReference (org.camunda.bpm.model.dmn.instance.OwnerReference)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1