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

All Known Implementing Classes:
CBoolean, CComparable, CDate, CDateTime, CNumber, CSimple, CString, CTime, CustomMixin

public interface Custom<T>

Custom provides base types for custom expressions with integrated serialization templates

Version:
$Id$
Author:
tiwe

Method Summary
 Expr<T> asExpr()
          Cast to Expr
 Expr<?> getArg(int index)
          Get the argument with the given index
 List<Expr<?>> getArgs()
          Get the arguments of the custom expression
 Template getTemplate()
          Get the serialization template for this custom expression
 Class<? extends T> getType()
           
 

Method Detail

asExpr

Expr<T> asExpr()
Cast to Expr

Returns:

getArg

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

Parameters:
index -
Returns:

getArgs

List<Expr<?>> getArgs()
Get the arguments of the custom expression

Returns:

getTemplate

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

Returns:

getType

Class<? extends T> getType()
Returns:


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