name.angoca.db2sa.core.syntax.graph
Class StartingToken

Package class diagram package StartingToken
java.lang.Object
  extended by name.angoca.db2sa.core.syntax.graph.GraphToken
      extended by name.angoca.db2sa.core.syntax.graph.StartingToken

public class StartingToken
extends GraphToken

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

Version:
1.0.0 2009-07-19
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
StartingToken()
          Constructor that defines the starting node.
 
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.syntax.graph.GraphToken
addWay, getId, getName, getWays, isReservedWord, represent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartingToken

public StartingToken()
Constructor that defines the starting node. Its name is STARTING_TOKEN and this works as a reserved name token.

Method Detail

equals

public final boolean equals(Object object)
Overrides:
equals in class GraphToken

hashCode

public final int hashCode()
Overrides:
hashCode in class GraphToken

toString

public final String toString()
Returns a string representation of an starting token. The representation is: {START NODE}

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


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