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

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

public interface Operation<RT>
extends Expression<RT>

Operation represents an operation with operator and arguments

Version:
$Id$
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 RT> 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 RT> getOperator()
Get the operator symbol for this operation

Returns:


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