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

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.AbstractSqlExpression
      extended bycom.triactive.jdo.store.sql.expr.ObjectExpression
All Implemented Interfaces:
SqlExpression, StatementTextGenerator
Direct Known Subclasses:
FcoExpression, ObjectLiteral, ObjectReferenceExpression

public class ObjectExpression
extends AbstractSqlExpression


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
ObjectExpression(AbstractSqlExpression.Body body)
           
ObjectExpression(QueryStatement.QueryColumn qsc)
           
 
Method Summary
 BooleanExpression eq(SqlExpression expr)
          Returns a new expression representing "this == expr".
protected static java.lang.String lastPartOf(java.lang.String name)
           
 BooleanExpression noteq(SqlExpression expr)
          Returns a new expression representing "this != expr".
 
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
accessField, add, and, callMethod, cast, com, div, eor, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, gt, gteq, innermostQuery, innermostQuery, ior, lt, lteq, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, select, setMapping, sub, toStatementText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectExpression

public ObjectExpression(AbstractSqlExpression.Body body)

ObjectExpression

public ObjectExpression(QueryStatement.QueryColumn qsc)
Method Detail

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 AbstractSqlExpression

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 AbstractSqlExpression

lastPartOf

protected static java.lang.String lastPartOf(java.lang.String name)


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