Search in sources :

Example 1 with ProcessParameter

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

the class ProcessParameterImpl method registerType.

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

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

Aggregations

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