Search in sources :

Example 1 with DefaultOutputEntry

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

the class DefaultOutputEntryImpl method registerType.

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

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

Aggregations

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