use of org.camunda.bpm.model.dmn.instance.PerformanceIndicator in project camunda-dmn-model by camunda.
the class PerformanceIndicatorImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(PerformanceIndicator.class, DMN_ELEMENT_PERFORMANCE_INDICATOR).namespaceUri(DMN11_NS).extendsType(BusinessContextElement.class).instanceProvider(new ModelTypeInstanceProvider<PerformanceIndicator>() {
public PerformanceIndicator newInstance(ModelTypeInstanceContext instanceContext) {
return new PerformanceIndicatorImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
impactingDecisionRefCollection = sequenceBuilder.elementCollection(ImpactingDecisionReference.class).uriElementReferenceCollection(Decision.class).build();
typeBuilder.build();
}
Aggregations