Package jline.api.wfn

Class WFNNode

java.lang.Object
jline.api.wfn.WFNNode
Direct Known Subclasses:
WFNPlace, WFNTransition

public abstract class WFNNode extends Object
Common base of the places and transitions of a WorkflowNet.

MATLAB keeps WFNPlace and WFNTransition unrelated and tells them apart with isa; the base class gives Java a single argument type for WorkflowNet.addArc(WFNNode, WFNNode).

  • Constructor Details

    • WFNNode

      protected WFNNode(WorkflowNet workflowNet, String name)
      Create a new node.
      Parameters:
      workflowNet - parent WorkflowNet
      name - node name
  • Method Details

    • getWorkflowNet

      public WorkflowNet getWorkflowNet()
    • getName

      public String getName()
    • getIndex

      public int getIndex()
    • toString

      public String toString()
      Overrides:
      toString in class Object