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

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.AbstractSqlExpression
      extended bycom.triactive.jdo.store.sql.expr.BooleanExpression
          extended bycom.triactive.jdo.store.sql.expr.BooleanLiteral
              extended bycom.triactive.jdo.store.sql.expr.BooleanBitColumnLiteral
All Implemented Interfaces:
SqlExpression, StatementTextGenerator

public class BooleanBitColumnLiteral
extends BooleanLiteral


Nested Class Summary
 
Nested classes 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
BooleanBitColumnLiteral(QueryStatement qs, boolean value)
           
 
Method Summary
protected  java.lang.String getBooleanFalseValue()
          Return the String value for FALSE in the database.
protected  java.lang.String getBooleanTrueValue()
          Return the String value for TRUE in the database.
 
Methods inherited from class com.triactive.jdo.store.sql.expr.BooleanLiteral
and, booleanValue, eor, eq, ior, not, noteq, toStatementText
 
Methods inherited from class com.triactive.jdo.store.sql.expr.BooleanExpression
protectOuterJoins, unprotectedOuterJoins, unprotectedOuterJoins
 
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
accessField, add, callMethod, cast, com, div, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, gt, gteq, innermostQuery, innermostQuery, lt, lteq, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, select, setMapping, sub, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanBitColumnLiteral

public BooleanBitColumnLiteral(QueryStatement qs,
                               boolean value)
Method Detail

getBooleanTrueValue

protected java.lang.String getBooleanTrueValue()
Return the String value for TRUE in the database. This should be overriden by subclasses for special cases of booleans.

Overrides:
getBooleanTrueValue in class BooleanLiteral
Returns:
The String value for TRUE in the database.

getBooleanFalseValue

protected java.lang.String getBooleanFalseValue()
Return the String value for FALSE in the database. This should be overriden by subclasses for special cases of booleans.

Overrides:
getBooleanFalseValue in class BooleanLiteral
Returns:
The String value for FALSE in the database.


Copyright 2001-2007 The TJDO Project All Rights Reserved.