com.triactive.jdo.store.sql.expr
Class CharacterLiteral

java.lang.Object
  extended by com.triactive.jdo.store.sql.expr.AbstractSqlExpression
      extended by com.triactive.jdo.store.sql.expr.CharacterExpression
          extended by com.triactive.jdo.store.sql.expr.CharacterLiteral
All Implemented Interfaces:
SqlExpression, StatementTextGenerator

public class CharacterLiteral
extends CharacterExpression


Nested Class Summary
 
Nested classes/interfaces inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
AbstractSqlExpression.Body, AbstractSqlExpression.CompoundExpression, AbstractSqlExpression.SimpleColumnReference, AbstractSqlExpression.SubqueryExpression
 
Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
body, qs
 
Constructor Summary
CharacterLiteral(QueryStatement qs, char c)
           
CharacterLiteral(QueryStatement qs, java.lang.Character c)
           
 
Method Summary
 SqlExpression add(SqlExpression expr)
          Returns a new expression representing "this + expr".
 char charValue()
           
 BooleanExpression eq(SqlExpression expr)
          Returns a new expression representing "this == expr".
 BooleanExpression gt(SqlExpression expr)
          Returns a new expression representing "this > expr".
 BooleanExpression gteq(SqlExpression expr)
          Returns a new expression representing "this >= expr".
 BooleanExpression lt(SqlExpression expr)
          Returns a new expression representing "this < expr".
 BooleanExpression lteq(SqlExpression expr)
          Returns a new expression representing "this <= expr".
 BooleanExpression noteq(SqlExpression expr)
          Returns a new expression representing "this != expr".
 StatementText toStatementText()
          Returns the SQL statement text which this object generates.
 
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
accessField, and, callMethod, cast, com, div, eor, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, innermostQuery, innermostQuery, ior, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, select, setMapping, sub, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterLiteral

public CharacterLiteral(QueryStatement qs,
                        char c)

CharacterLiteral

public CharacterLiteral(QueryStatement qs,
                        java.lang.Character c)
Method Detail

charValue

public char charValue()

eq

public BooleanExpression eq(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this == expr".

Specified by:
eq in interface SqlExpression
Overrides:
eq in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

noteq

public BooleanExpression noteq(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this != expr".

Specified by:
noteq in interface SqlExpression
Overrides:
noteq in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

lt

public BooleanExpression lt(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this < expr".

Specified by:
lt in interface SqlExpression
Overrides:
lt in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

lteq

public BooleanExpression lteq(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this <= expr".

Specified by:
lteq in interface SqlExpression
Overrides:
lteq in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

gt

public BooleanExpression gt(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this > expr".

Specified by:
gt in interface SqlExpression
Overrides:
gt in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

gteq

public BooleanExpression gteq(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this >= expr".

Specified by:
gteq in interface SqlExpression
Overrides:
gteq in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

add

public SqlExpression add(SqlExpression expr)
Description copied from interface: SqlExpression
Returns a new expression representing "this + expr".

Specified by:
add in interface SqlExpression
Overrides:
add in class CharacterExpression
Parameters:
expr - The right-hand side of the operator.

toStatementText

public StatementText toStatementText()
Description copied from interface: StatementTextGenerator
Returns the SQL statement text which this object generates.

Specified by:
toStatementText in interface StatementTextGenerator
Overrides:
toStatementText in class AbstractSqlExpression


Copyright ? 2001-2007 The TJDO Project All Rights Reserved.