Search in sources :

Example 1 with OutputProcessParameter

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

the class OutputProcessParameterImpl method registerType.

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

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

Aggregations

OutputProcessParameter (org.camunda.bpm.model.cmmn.instance.OutputProcessParameter)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