Class NodeData

java.lang.Object
de.saar.chorus.domgraph.graph.NodeData

public class NodeData extends Object
The data associated with a node. At this point, this is simply the node type (labelled or unlabelled).
Author:
Alexander Koller
  • Constructor Details

    • NodeData

      public NodeData(NodeType type)
  • Method Details

    • getType

      public NodeType getType()
      Returns the node type.
      Returns:
      the type
    • toString

      public String toString()
      Returns a string representation of this node-data object.
      Overrides:
      toString in class Object
    • setType

      public void setType(NodeType type)
      Set the node type.
      Parameters:
      type - the new type of the node
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object