com.triactive.jdo.store.sql.expr
Class StringLiteral
java.lang.Object
com.triactive.jdo.store.sql.expr.AbstractSqlExpression
com.triactive.jdo.store.sql.expr.StringExpression
com.triactive.jdo.store.sql.expr.StringLiteral
- All Implemented Interfaces:
- SqlExpression, StatementTextGenerator
- public class StringLiteral
- extends StringExpression
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 |
StringLiteral
public StringLiteral(QueryStatement qs,
java.lang.String s)
stringValue
public java.lang.String stringValue()
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 StringExpression
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 StringExpression
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 StringExpression
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 StringExpression
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 StringExpression
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 StringExpression
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 StringExpression
endsWithMethod
public SqlExpression endsWithMethod(SqlExpression str)
- Overrides:
endsWithMethod
in class StringExpression
indexOfMethod
public SqlExpression indexOfMethod(SqlExpression str)
- Overrides:
indexOfMethod
in class StringExpression
lengthMethod
public SqlExpression lengthMethod()
- Overrides:
lengthMethod
in class StringExpression
startsWithMethod
public SqlExpression startsWithMethod(SqlExpression str)
- Overrides:
startsWithMethod
in class StringExpression
startsWithMethod
public SqlExpression startsWithMethod(SqlExpression str,
SqlExpression toffset)
- Overrides:
startsWithMethod
in class StringExpression
substringMethod
public SqlExpression substringMethod(NumericExpression begin)
substringMethod
public SqlExpression substringMethod(NumericExpression begin,
NumericExpression end)
toLowerCaseMethod
public SqlExpression toLowerCaseMethod()
- Overrides:
toLowerCaseMethod
in class StringExpression
toUpperCaseMethod
public SqlExpression toUpperCaseMethod()
- Overrides:
toUpperCaseMethod
in class StringExpression
trimMethod
public SqlExpression trimMethod()
- Overrides:
trimMethod
in class StringExpression
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.