Search in sources :

Example 1 with InputDecisionParameter

use of org.camunda.bpm.model.cmmn.instance.InputDecisionParameter in project camunda-cmmn-model by camunda.

the class InputDecisionParameterImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputDecisionParameter.class, CMMN_ELEMENT_INPUT).namespaceUri(CMMN11_NS).extendsType(DecisionParameter.class).instanceProvider(new ModelTypeInstanceProvider<InputDecisionParameter>() {

        public InputDecisionParameter newInstance(ModelTypeInstanceContext instanceContext) {
            return new InputDecisionParameterImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : InputDecisionParameter(org.camunda.bpm.model.cmmn.instance.InputDecisionParameter) InputDecisionParameter(org.camunda.bpm.model.cmmn.instance.InputDecisionParameter) DecisionParameter(org.camunda.bpm.model.cmmn.instance.DecisionParameter) ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)

Aggregations

DecisionParameter (org.camunda.bpm.model.cmmn.instance.DecisionParameter)1 InputDecisionParameter (org.camunda.bpm.model.cmmn.instance.InputDecisionParameter)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1