| |
|
| java.lang.Object org.jpox.store.expression.ScalarExpression org.jpox.store.expression.ReferenceExpression
ReferenceExpression | public class ReferenceExpression extends ScalarExpression (Code) | | Represents a reference field/object (interface/object) in a JDOQL query.
version: $Revision: 1.9 $ |
ReferenceExpression | public ReferenceExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te)(Code) | | Constructor for a reference expression, using the mapping of the field, and the expression for the table.
Parameters: qs - The Query Statement Parameters: mapping - The mapping for the field whose interface we are expressing Parameters: te - The expression for the table of the interface. |
accessField | public ScalarExpression accessField(String fieldName, boolean innerJoin)(Code) | | Method invoked when accessing a field in the reference.
This is currently not available - you must cast it to a concrete type (since the
reference doesnt have any fields!).
Parameters: fieldName - Name of the field to access Parameters: innerJoin - whether to join using an inner join Expression representing the field of this reference |
cast | public ScalarExpression cast(Class castType)(Code) | | Method for casting a reference expression to some other type in the query.
Parameters: castType - The type to cast it to. The expression for the casted reference |
eq | public BooleanExpression eq(ScalarExpression expr)(Code) | | Method for use when handling the equality of reference expressions.
Parameters: expr - The expression to compare against Expression whether the expressions are equal |
noteq | public BooleanExpression noteq(ScalarExpression expr)(Code) | | Method for use when handling the inequality of reference expressions.
Parameters: expr - The expression to compare against Expression whether the expressions are not equal |
|
|
|