Search in sources :

Example 1 with RequiredAuthorityReference

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

the class RequiredAuthorityReferenceImpl method registerType.

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

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