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