Search in sources :

Example 1 with ImpactedPerformanceIndicatorReference

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

the class ImpactedPerformanceIndicatorReferenceImpl method registerType.

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

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