com.mysema.query.types
Interface Operation<T>

All Superinterfaces:
Expression<T>, Serializable
All Known Implementing Classes:
BooleanBuilder, BooleanOperation, ComparableOperation, DateOperation, DateTimeOperation, EnumOperation, NumberOperation, OperationImpl, PredicateOperation, SimpleOperation, StringOperation, TimeOperation

public interface Operation<T>
extends Expression<T>

Operation represents an operation with operator and arguments

Author:
tiwe

Method Summary
 Expression<?> getArg(int index)
          Get the argument with the given index
 List<Expression<?>> getArgs()
          Get the arguments of this operation
 Operator<? super T> getOperator()
          Get the operator symbol for this operation
 
Methods inherited from interface com.mysema.query.types.Expression
accept, getType
 

Method Detail

getArg

Expression<?> getArg(int index)
Get the argument with the given index

Parameters:
index -
Returns:

getArgs

List<Expression<?>> getArgs()
Get the arguments of this operation

Returns:

getOperator

Operator<? super T> getOperator()
Get the operator symbol for this operation

Returns:


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