Search in sources :

Example 1 with ProcessRefExpression

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

the class ProcessRefExpressionImpl method registerType.

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

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

Aggregations

Expression (org.camunda.bpm.model.cmmn.instance.Expression)1 ProcessRefExpression (org.camunda.bpm.model.cmmn.instance.ProcessRefExpression)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1