Class JoinExpression

  extended by
      extended by

public class JoinExpression
extends ScalarExpression

An expression representing a JOIN in JPQL terms.

$Revision: 1.1 $

Nested Class Summary
Nested classes/interfaces inherited from class
ScalarExpression.DatastoreFieldExpression, ScalarExpression.DyadicOperator, ScalarExpression.ExpressionList, ScalarExpression.IllegalArgumentTypeException, ScalarExpression.IllegalOperationException, ScalarExpression.MethodInvocationException, ScalarExpression.MonadicOperator, ScalarExpression.Operator
Field Summary
Fields inherited from class
aliasIdentifier, checkForTypeAssignability, expressionList, FILTER, LOCALISER, lowestOperator, mapping, OP_ADD, OP_AND, OP_BETWEEN, OP_COM, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MOD, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_NOTIN, OP_NOTLIKE, OP_OR, OP_SUB, parameterName, PROJECTION, qs, st, te
Constructor Summary
JoinExpression(QueryExpression qs, java.lang.String fieldName, boolean leftJoin, boolean fetch)
Method Summary
 java.lang.String getFieldName()
          Accessor for the field name being joined.
 boolean isFetch()
 boolean isLeftJoin()
Methods inherited from class
accessField, add, and, as, assertValidTypeForParameterComparison, callMethod, cast, checkForTypeAssignability, com, div, encloseWithInParentheses, eor, eq, equals, getAlias, getConsistentTypeForParameterComparison, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, noteq, setParameterName, sub, toStatementText, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public JoinExpression(QueryExpression qs,
                      java.lang.String fieldName,
                      boolean leftJoin,
                      boolean fetch)

qs - The Query Statement
fieldName - "Name" for field being joined to
leftJoin - whether this is a left join, otherwise it is an inner join
fetch - whether to fetch the right hand expression by the query
Method Detail


public java.lang.String getFieldName()
Accessor for the field name being joined.

The field name (including any alias)


public boolean isLeftJoin()
the leftJoin


public boolean isFetch()
the fetch

Copyright © 2010. All Rights Reserved.