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

All Superinterfaces:
Expression<T>, Serializable
All Known Implementing Classes:
BooleanTemplate, ComparableTemplate, DateTemplate, DateTimeTemplate, EnumTemplate, NullExpression, NumberTemplate, PredicateTemplate, SimpleTemplate, StringTemplate, TemplateExpressionImpl, TimeTemplate

public interface TemplateExpression<T>
extends Expression<T>

TemplateExpression provides base types for custom expressions with integrated serialization templates

Author:
tiwe

Method Summary
 Expression<?> getArg(int index)
          Get the argument with the given index
 List<Expression<?>> getArgs()
          Get the arguments of the custom expression
 Template getTemplate()
          Get the serialization template for this custom expression
 
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 the custom expression

Returns:

getTemplate

Template getTemplate()
Get the serialization template for this custom expression

Returns:


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