use of org.camunda.bpm.model.bpmn.instance.CorrelationPropertyBinding in project camunda-bpmn-model by camunda.
the class CorrelationPropertyBindingImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(CorrelationPropertyBinding.class, BPMN_ELEMENT_CORRELATION_PROPERTY_BINDING).namespaceUri(BPMN20_NS).extendsType(BaseElement.class).instanceProvider(new ModelTypeInstanceProvider<CorrelationPropertyBinding>() {
public CorrelationPropertyBinding newInstance(ModelTypeInstanceContext instanceContext) {
return new CorrelationPropertyBindingImpl(instanceContext);
}
});
correlationPropertyRefAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_CORRELATION_PROPERTY_REF).required().qNameAttributeReference(CorrelationProperty.class).build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
dataPathChild = sequenceBuilder.element(DataPath.class).required().build();
typeBuilder.build();
}
Aggregations