name.angoca.db2sa.core.graph.model
Class StartingNode

Package class diagram package StartingNode
java.lang.Object
  extended by name.angoca.db2sa.core.graph.model.GraphNode
      extended by name.angoca.db2sa.core.graph.model.StartingNode
All Implemented Interfaces:
Comparable<GraphNode>

public final class StartingNode
extends GraphNode

This token represents the first token in the grammar (the starting node in the graph.) All the possible ways starts from this token.

This object is immutable, once it is created, their properties cannot be changed. This is the reason because there are not setter methods.

Control Version

Version:
1.5.0 2009-11-22
Author:
Andres Gomez Casanova (AngocA)

Method Summary
 boolean equals(Object object)
           
 int hashCode()
           
 String toString()
          Returns a string representation of an starting token.
 
Methods inherited from class name.angoca.db2sa.core.graph.model.GraphNode
compareTo, getName, getWays, isReservedWord, represent, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class GraphNode

hashCode

public int hashCode()
Overrides:
hashCode in class GraphNode

toString

public String toString()
Returns a string representation of an starting token.

Overrides:
toString in class GraphNode
Returns:
String representation of an starting token.
See Also:
Object.toString()


Andres Gomez Casanova (AngocA) 2009-2010 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.