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