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