Class BpmnEdge


  • public class BpmnEdge
    extends Edge<BpmnNode>
    A class to represent Edges in a BPMN Model
    Author:
    Benedikt Knopp
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getId()
      retrieve the ID of this edge
      void setId​(java.lang.String id)
      set the ID of this edge
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BpmnEdge

        public BpmnEdge​(BpmnNode nodeA,
                        BpmnNode nodeB)
        Create a new Edge
        Parameters:
        nodeA - a node
        nodeB - a node
      • BpmnEdge

        public BpmnEdge​(BpmnNode nodeA,
                        BpmnNode nodeB,
                        java.lang.String label)
        Create a new labelled adge
        Parameters:
        nodeA - a node
        nodeB - a node
        label - the label
    • Method Detail

      • getId

        public java.lang.String getId()
        retrieve the ID of this edge
        Returns:
        the unique element identifier
      • setId

        public void setId​(java.lang.String id)
        set the ID of this edge
        Parameters:
        id - a unique element identifier