com.mysema.query.types
Class FactoryExpressionUtils.FactoryExpressionAdapter<T>

java.lang.Object
  extended by com.mysema.query.types.ExpressionBase<T>
      extended by com.mysema.query.types.FactoryExpressionUtils.FactoryExpressionAdapter<T>
All Implemented Interfaces:
Expression<T>, FactoryExpression<T>, Serializable
Enclosing class:
FactoryExpressionUtils

public static class FactoryExpressionUtils.FactoryExpressionAdapter<T>
extends ExpressionBase<T>
implements FactoryExpression<T>

See Also:
Serialized Form

Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 List<Expression<?>> getArgs()
          Get the invocation arguments
 T newInstance(Object... a)
          Create a projection with the given arguments
 
Methods inherited from class com.mysema.query.types.ExpressionBase
getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Expression
getType
 

Method Detail

getArgs

public List<Expression<?>> getArgs()
Description copied from interface: FactoryExpression
Get the invocation arguments

Specified by:
getArgs in interface FactoryExpression<T>
Returns:

newInstance

public T newInstance(Object... a)
Description copied from interface: FactoryExpression
Create a projection with the given arguments

Specified by:
newInstance in interface FactoryExpression<T>
Returns:

accept

public <R,C> R accept(Visitor<R,C> v,
                      C context)
Description copied from interface: Expression
Accept the visitor with the given context

Specified by:
accept in interface Expression<T>
Type Parameters:
R - return type
C - context type
Parameters:
v - visitor
context - context of visit
Returns:


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