use of org.camunda.bpm.model.dmn.instance.Question in project camunda-dmn-model by camunda.
the class QuestionImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Question.class, DMN_ELEMENT_QUESTION).namespaceUri(DMN11_NS).instanceProvider(new ModelTypeInstanceProvider<Question>() {
public Question newInstance(ModelTypeInstanceContext instanceContext) {
return new QuestionImpl(instanceContext);
}
});
typeBuilder.build();
}
Aggregations