Class Vertex.RuntimeVertex

java.lang.Object
org.graphwalker.core.model.RuntimeBase
org.graphwalker.core.model.Vertex.RuntimeVertex
All Implemented Interfaces:
Element
Enclosing class:
Vertex

public static class Vertex.RuntimeVertex extends RuntimeBase

RuntimeVertex

Immutable class for Vertex

This class is used in models. It guarantees that that the internal states of the instance will not change after it's construction.
  • Method Details

    • getSharedState

      public String getSharedState()
      Gets the name of the shared state.
      Returns:
      The name as a string.
      See Also:
    • hasSharedState

      public boolean hasSharedState()
      Returns true if the vertex has a valid shared state.
      Returns:
      True if the vertex has a shared state.
    • accept

      public void accept(ElementVisitor visitor)
      TODO Needs documentation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RuntimeBase
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class RuntimeBase