use of org.camunda.bpm.model.bpmn.instance.CorrelationPropertyRetrievalExpression in project camunda-bpmn-model by camunda.
the class CorrelationPropertyRetrievalExpressionImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(CorrelationPropertyRetrievalExpression.class, BPMN_ELEMENT_CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION).namespaceUri(BPMN20_NS).extendsType(BaseElement.class).instanceProvider(new ModelTypeInstanceProvider<CorrelationPropertyRetrievalExpression>() {
public CorrelationPropertyRetrievalExpression newInstance(ModelTypeInstanceContext instanceContext) {
return new CorrelationPropertyRetrievalExpressionImpl(instanceContext);
}
});
messageRefAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_MESSAGE_REF).required().qNameAttributeReference(Message.class).build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
messagePathChild = sequenceBuilder.element(MessagePath.class).required().build();
typeBuilder.build();
}
Aggregations