Search in sources :

Example 1 with ImportedElement

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

the class ImportedElementImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ImportedElement.class, DMN_ELEMENT_IMPORTED_ELEMENT).namespaceUri(DMN11_NS).instanceProvider(new ModelTypeInstanceProvider<ImportedElement>() {

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

Aggregations

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