use of org.camunda.bpm.model.cmmn.instance.CaseParameter in project camunda-cmmn-model by camunda.
the class CaseParameterImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(CaseParameter.class, CMMN_ELEMENT_CASE_PARAMETER).namespaceUri(CMMN11_NS).extendsType(Parameter.class).instanceProvider(new ModelTypeInstanceProvider<CaseParameter>() {
public CaseParameter newInstance(ModelTypeInstanceContext instanceContext) {
return new CaseParameterImpl(instanceContext);
}
});
bindingRefAttribute = typeBuilder.stringAttribute(CMMN_ATTRIBUTE_BINDING_REF).idAttributeReference(CaseFileItem.class).build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
bindingRefinementChild = sequenceBuilder.element(BindingRefinementExpression.class).build();
typeBuilder.build();
}
Aggregations