com.mysema.query.types
Interface Expression<D>

All Superinterfaces:
Serializable
All Known Subinterfaces:
ArrayExpression<E>, CollectionExpression<C,E>, Constant<D>, EntityPath<T>, ExtendedSubQueryExpression<T>, FactoryExpression<D>, ListExpression<E,Q>, MapExpression<K,V>, Operation<RT>, ParametrizedExpression<T>, ParamExpression<T>, Path<C>, Predicate, RelationalPath<T>, SubQueryExpression<T>, TemplateExpression<T>
All Known Implementing Classes:
ArrayConstructorExpression, ArrayPath, BeanPath, BooleanBuilder, BooleanExpression, BooleanOperation, BooleanPath, BooleanSubQuery, BooleanTemplate, Coalesce, CollectionExpressionBase, CollectionPath, CollectionPathBase, ComparableExpression, ComparableExpressionBase, ComparableOperation, ComparablePath, ComparableSubQuery, ComparableTemplate, ConstantImpl, ConstructorExpression, DateExpression, DateOperation, DatePath, DateSubQuery, DateTemplate, DateTimeExpression, DateTimeOperation, DateTimePath, DateTimeSubQuery, DateTimeTemplate, EntityPathBase, EnumExpression, EnumOperation, EnumPath, EnumTemplate, ExpressionBase, ListPath, ListSubQuery, MapExpressionBase, MapPath, NullExpression, NumberExpression, NumberOperation, NumberPath, NumberSubQuery, NumberTemplate, OperationImpl, Param, PathBuilder, PathImpl, PhraseElement, PredicateOperation, QBean, QBeans, QTuple, QueryElement, RelationalPathBase, RowNumber, SetPath, SimpleExpression, SimpleOperation, SimplePath, SimpleSubQuery, SimpleTemplate, StringExpression, StringOperation, StringPath, StringSubQuery, StringTemplate, SubQueryExpressionImpl, SumOver, TemplateExpressionImpl, TemporalExpression, TermElement, TimeExpression, TimeOperation, TimePath, TimeSubQuery, TimeTemplate

public interface Expression<D>
extends Serializable

Expression defines a general typed expression in a Query instance. The generic type parameter is a reference to the type the expression is bound to.

Version:
$Id$
Author:
tiwe

Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 Class<? extends D> getType()
          Get the java type for this expression
 

Method Detail

accept

<R,C> R accept(Visitor<R,C> v,
               @Nullable
               C context)
Accept the visitor with the given context

Type Parameters:
R -
C -
Parameters:
v -
context -
Returns:

getType

Class<? extends D> getType()
Get the java type for this expression

Returns:


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.