com.triactive.jdo.store
Class BooleanLiteral
java.lang.Object
com.triactive.jdo.store.SQLExpression
com.triactive.jdo.store.BooleanExpression
com.triactive.jdo.store.BooleanLiteral
- Direct Known Subclasses:
- BooleanBitColumnLiteral, BooleanCharColumnLiteral
class BooleanLiteral
- extends BooleanExpression
Fields inherited from class com.triactive.jdo.store.SQLExpression |
lowestOperator, OP_ADD, OP_AND, OP_BETWEEN, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_OR, OP_SUB, qs, st |
Methods inherited from class com.triactive.jdo.store.SQLExpression |
accessField, add, callMethod, cast, com, div, getQueryStatement, gt, gteq, lt, lteq, mod, mul, neg, sub, toStatementText, toString, typeList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanLiteral
public BooleanLiteral(QueryStatement qs,
boolean value)
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.
- 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.
- Returns:
- The String value for FALSE in the database.
and
public BooleanExpression and(SQLExpression expr)
- Overrides:
and
in class BooleanExpression
eor
public BooleanExpression eor(SQLExpression expr)
- Overrides:
eor
in class BooleanExpression
ior
public BooleanExpression ior(SQLExpression expr)
- Overrides:
ior
in class BooleanExpression
not
public BooleanExpression not()
- Overrides:
not
in class BooleanExpression
eq
public BooleanExpression eq(SQLExpression expr)
- Overrides:
eq
in class BooleanExpression
noteq
public BooleanExpression noteq(SQLExpression expr)
- Overrides:
noteq
in class BooleanExpression
Copyright ? 2001 TriActive, Inc. All Rights Reserved.