Interface TestNode

All Known Implementing Classes:
TestGraphHeavyNode, TestGraphLightNode

public interface TestNode
Interface of node used for tests.
Author:
Damien Carbonne
  • Method Details

    • getName

      String getName()
      Returns:
      The node name (identifier-like).
    • getLabel

      String getLabel()
      Returns:
      The node label.
    • setLabel

      void setLabel(String label)
      Sets the node label.
      Parameters:
      label - The label.
    • getDefinitionHashCode

      default int getDefinitionHashCode()
      Returns:
      A hash code based on definition of this node. Local attributes are used.
    • hasSameDefinition

      default boolean hasSameDefinition(TestNode node)
      Parameters:
      node - The other node.
      Returns:
      true if this node and node have the same definition. Local attributes are used.