Search in sources :

Example 1 with DecisionParameter

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

the class DecisionParameterImpl method registerType.

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

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

Aggregations

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