Search in sources :

Example 1 with Column

use of org.camunda.bpm.model.dmn.instance.Column in project camunda-dmn-model by camunda.

the class ColumnImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Column.class, DMN_ELEMENT_COLUMN).namespaceUri(DMN11_NS).extendsType(InformationItem.class).instanceProvider(new ModelTypeInstanceProvider<Column>() {

        public Column newInstance(ModelTypeInstanceContext instanceContext) {
            return new ColumnImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : Column(org.camunda.bpm.model.dmn.instance.Column) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) InformationItem(org.camunda.bpm.model.dmn.instance.InformationItem) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Aggregations

Column (org.camunda.bpm.model.dmn.instance.Column)1 InformationItem (org.camunda.bpm.model.dmn.instance.InformationItem)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1