Class BpmnNode
java.lang.Object
org.tweetyproject.logics.bpm.syntax.BpmnFormula
org.tweetyproject.logics.bpm.syntax.BpmnElement
org.tweetyproject.logics.bpm.syntax.BpmnNode
A class to represent all kinds of nodes in a BPMN Model
- Author:
- Benedikt Knopp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
putIncomingEdge
(String edgeId, Edge<BpmnNode> edge) Add a new incoming edgevoid
putOutgoingEdge
(String edgeId, Edge<BpmnNode> edge) Add a new outgoing edgeMethods inherited from class org.tweetyproject.logics.bpm.syntax.BpmnElement
getId, getName, setId, setName
Methods inherited from class org.tweetyproject.logics.bpm.syntax.BpmnFormula
getSignature
-
Constructor Details
-
BpmnNode
public BpmnNode()Create a new instance
-
-
Method Details
-
putIncomingEdge
Add a new incoming edge- Parameters:
edgeId
- the id of the incoming edgeedge
- the edge
-
putOutgoingEdge
Add a new outgoing edge- Parameters:
edgeId
- the id of the outgoing edgeedge
- the edge
-
getIncomingEdges
- Returns:
- all directed edges that lead to this node
-
getOutgoingEdges
- Returns:
- all directed edges leading away from this node
-