|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.triactive.jdo.store.sql.expr.AbstractSqlExpression
com.triactive.jdo.store.sql.expr.BooleanExpression
com.triactive.jdo.store.sql.expr.BooleanLiteral
public class BooleanLiteral
| 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 | |
|---|---|
BooleanLiteral(QueryStatement qs,
boolean value)
|
|
| Method Summary | |
|---|---|
BooleanExpression |
and(SqlExpression expr)
Returns a new expression representing "this && expr". |
boolean |
booleanValue()
|
BooleanExpression |
eor(SqlExpression expr)
Returns a new expression representing "this ^ expr". |
BooleanExpression |
eq(SqlExpression expr)
Returns a new expression representing "this == expr". |
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. |
BooleanExpression |
ior(SqlExpression expr)
Returns a new expression representing "this || expr". |
BooleanExpression |
not()
Returns a new expression representing "!this". |
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.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 |
|---|
public BooleanLiteral(QueryStatement qs,
boolean value)
| Method Detail |
|---|
public boolean booleanValue()
protected java.lang.String getBooleanTrueValue()
protected java.lang.String getBooleanFalseValue()
public BooleanExpression and(SqlExpression expr)
SqlExpression
and in interface SqlExpressionand in class BooleanExpressionexpr - The right-hand side of the operator.public BooleanExpression eor(SqlExpression expr)
SqlExpression
eor in interface SqlExpressioneor in class BooleanExpressionexpr - The right-hand side of the operator.public BooleanExpression ior(SqlExpression expr)
SqlExpression
ior in interface SqlExpressionior in class BooleanExpressionexpr - The right-hand side of the operator.public BooleanExpression not()
SqlExpression
not in interface SqlExpressionnot in class BooleanExpressionpublic BooleanExpression eq(SqlExpression expr)
SqlExpression
eq in interface SqlExpressioneq in class BooleanExpressionexpr - The right-hand side of the operator.public BooleanExpression noteq(SqlExpression expr)
SqlExpression
noteq in interface SqlExpressionnoteq in class BooleanExpressionexpr - The right-hand side of the operator.public StatementText toStatementText()
StatementTextGenerator
toStatementText in interface StatementTextGeneratortoStatementText in class AbstractSqlExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||