Class TestGraphLightNode

java.lang.Object
cdc.graphs.impl.tests.TestGraphLightNode
All Implemented Interfaces:
TestNode

public class TestGraphLightNode extends Object implements TestNode
Implementation of graph node for tests.
Author:
Damien Carbonne
  • Constructor Details

    • TestGraphLightNode

      public TestGraphLightNode(String name)
  • Method Details

    • getName

      public final String getName()
      Specified by:
      getName in interface TestNode
      Returns:
      The node name (identifier-like).
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface TestNode
      Returns:
      The node label.
    • setLabel

      public void setLabel(String label)
      Description copied from interface: TestNode
      Sets the node label.
      Specified by:
      setLabel in interface TestNode
      Parameters:
      label - The label.
    • toString

      public String toString()
      Overrides:
      toString in class Object