Interface IWorkflowBpmnDataAssociationEdgeBuilder

All Superinterfaces:
IWorkflowBpmnAssociationLikeEdgeBuilder<IWorkflowBpmnDataAssociationEdgeBuilder, de.xima.bpmn_model.api.element.bpmn.data.ItemAwareElement<?>>, IWorkflowBpmnConnectionEdgeBuilder<IWorkflowBpmnDataAssociationEdgeBuilder, de.xima.bpmn_model.api.element.bpmn.data.ItemAwareElement<?>>

public interface IWorkflowBpmnDataAssociationEdgeBuilder extends IWorkflowBpmnAssociationLikeEdgeBuilder<IWorkflowBpmnDataAssociationEdgeBuilder, de.xima.bpmn_model.api.element.bpmn.data.ItemAwareElement<?>>
Builder for creating a BPMN edge for a DataAssociation between a source and a target, used by IFlattenedAlignmentItemMap.dataAssociation().

When modelling a workflow element as BPMN, the usual approach is to create a nested tree of alignment items, making use of the layouter. This tree then gets resolved to a flat map. Finally, the various method on IFlattenedAlignmentItemMap can be used to create the BPMN shapes, BPMN edges, associations, and data associations.

Since:
8.4.0
  • Method Details

    • build

      @CanIgnoreReturnValue <DA extends de.xima.bpmn_model.api.element.bpmn.data.DataAssociation<?>> de.xima.bpmn_model.api.element.bpmndi.BpmnEdge build(DA dataAssociation)
      Creates a BPMN edge for the given data association between the configured source and target.
      Type Parameters:
      DA - The type of the data association, either DataInputAssociation or DataOutputAssociation.
      Parameters:
      dataAssociation - The data association for which to build the BPMN edge.
      Returns:
      The newly created BPMN edge for the data association.