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

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

public class EndingToken
extends GraphToken

This token represents the last token in the grammar (the ending node in the graph.) All the possible ways ends in this token.
Control Version

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

Constructor Summary
EndingToken()
          Constructor that defines the ending node.
 
Method Summary
 boolean equals(Object object)
           
 int hashCode()
           
 String toString()
          Returns a string representation of an ending 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

EndingToken

public EndingToken()
Constructor that defines the ending node. Its name is ENDING_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 ending token. The representation is: {END NODE}

Overrides:
toString in class GraphToken
Returns:
String representation of an ending 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.