Interface IStructuredBpmnModelPartBuilder<Self extends IStructuredBpmnModelPartBuilder<Self>>

All Superinterfaces:
IEventContainingStructuredBpmnModelPartBuilder<Self>
All Known Subinterfaces:
IWorkflowNodeBpmnModelPartBuilder, IWorkflowProcessBpmnModelPartBuilder, IWorkflowTaskBpmnModelPartBuilder, IWorkflowTriggerBpmnModelPartBuilder

public interface IStructuredBpmnModelPartBuilder<Self extends IStructuredBpmnModelPartBuilder<Self>> extends IEventContainingStructuredBpmnModelPartBuilder<Self>
A builder for a IStructuredBpmnModelPart, associated with a particular IWorkflowBpmnModelContext.
Since:
8.4.0
  • Method Details

    • boundingBox

      @CanIgnoreReturnValue Self boundingBox(Rectangular2DDouble boundingBox)
      Sets the bounding box of this part, see IStructuredBpmnModelPart.boundingBox().
      Parameters:
      boundingBox - The bounding box for the part.
      Returns:
      This builder, for chaining.
    • boundingBox

      @CanIgnoreReturnValue Self boundingBox(double width, double height)
      Sets the bounding box of this part, see IStructuredBpmnModelPart.boundingBox().
      Parameters:
      width - The width of the bounding box.
      height - The height of the bounding box.
      Returns:
      This builder, for chaining.
    • id

      String id()
      The unique ID of the model part being created (unique with the scope of a BPMN diagram).
      Returns:
      The ID of the model part.