planetj.database.sql
Class SQLToken

java.lang.Object
  extended byplanetj.database.sql.SQLToken
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbstractExpressionToken, ColumnFunctionToken, ColumnToken, LanguageElementToken, OperatorToken, ScalarToken, SpecialRegisterToken, TableClauseToken, TableFunctionToken, TableToken, TypeToken, ValueToken

public class SQLToken
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String WHITE_SPACE
           
 
Constructor Summary
SQLToken()
          SQLToken constructor comment.
SQLToken(java.lang.String pToken, SQLStatement pStatement)
          SQLToken constructor comment.
 
Method Summary
 SQLStatement getStatement()
          Gets the SQLStatement to which this token belongs
 java.lang.String getToken()
           
static boolean isTokenParameter(java.lang.String token)
           
static boolean isTokenWhiteSpace(java.lang.String token)
           
protected  void setStatement(SQLStatement newStatement)
          Sets the SQLStatement to which this token belongs
protected  void setToken(java.lang.String pToken)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WHITE_SPACE

public static final java.lang.String WHITE_SPACE
See Also:
Constant Field Values
Constructor Detail

SQLToken

public SQLToken()
SQLToken constructor comment.


SQLToken

public SQLToken(java.lang.String pToken,
                SQLStatement pStatement)
SQLToken constructor comment.

Parameters:
pToken - String to create this token from.
Method Detail

getStatement

public SQLStatement getStatement()
Gets the SQLStatement to which this token belongs


getToken

public java.lang.String getToken()

isTokenParameter

public static final boolean isTokenParameter(java.lang.String token)

isTokenWhiteSpace

public static final boolean isTokenWhiteSpace(java.lang.String token)

setStatement

protected void setStatement(SQLStatement newStatement)
Sets the SQLStatement to which this token belongs


setToken

protected void setToken(java.lang.String pToken)

toString

public java.lang.String toString()