|
||||||||||
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.ObjectExpression
com.triactive.jdo.store.sql.expr.ObjectReferenceExpression
public class ObjectReferenceExpression
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 | |
---|---|
ObjectReferenceExpression(QueryStatement.QueryColumn refQsc)
|
Method Summary | |
---|---|
SqlExpression |
accessField(java.lang.String fieldName)
Returns a new expression representing "this.fieldName". |
SqlExpression |
cast(java.lang.Class castType)
Returns a new expression representing this expression cast to the given data type. |
java.lang.Class |
getJavaType()
Returns the corresponding Java type of this expression. |
Methods inherited from class com.triactive.jdo.store.sql.expr.ObjectExpression |
---|
eq, lastPartOf, noteq |
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
---|
add, and, callMethod, com, div, eor, getColumnMapping, 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 |
---|
public ObjectReferenceExpression(QueryStatement.QueryColumn refQsc)
Method Detail |
---|
public java.lang.Class getJavaType()
SqlExpression
getJavaType
in interface SqlExpression
getJavaType
in class AbstractSqlExpression
public SqlExpression cast(java.lang.Class castType)
SqlExpression
cast
in interface SqlExpression
cast
in class AbstractSqlExpression
castType
- The Java type to which the expression should be cast.public SqlExpression accessField(java.lang.String fieldName)
SqlExpression
accessField
in interface SqlExpression
accessField
in class AbstractSqlExpression
fieldName
- The name of the field to be accessed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |