Class BpmnNode

  • All Implemented Interfaces:
    Formula, Node
    Direct Known Subclasses:
    Activity, Event, Gateway

    public class BpmnNode
    extends BpmnElement
    implements Node
    A class to represent all kinds of nodes in a BPMN Model
    Author:
    Benedikt Knopp
    • Constructor Detail

      • BpmnNode

        public BpmnNode()
        Create a new instance
    • Method Detail

      • putIncomingEdge

        public void putIncomingEdge​(java.lang.String edgeId,
                                    Edge<BpmnNode> edge)
        Add a new incoming edge
        Parameters:
        edgeId - the id of the incoming edge
        edge - the edge
      • putOutgoingEdge

        public void putOutgoingEdge​(java.lang.String edgeId,
                                    Edge<BpmnNode> edge)
        Add a new outgoing edge
        Parameters:
        edgeId - the id of the outgoing edge
        edge - the edge
      • getIncomingEdges

        public java.util.Map<java.lang.String,​Edge<BpmnNode>> getIncomingEdges()
        Returns:
        all directed edges that lead to this node
      • getOutgoingEdges

        public java.util.Map<java.lang.String,​Edge<BpmnNode>> getOutgoingEdges()
        Returns:
        all directed edges leading away from this node