com.mysema.query.types
Class EConstructor<D>
java.lang.Object
com.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<D>
com.mysema.query.types.EConstructor<D>
- Type Parameters:
D
- Java type
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- EArrayConstructor
public class EConstructor<D>
- extends ESimple<D>
EConstructor represents a constructor invocation
- Author:
- tiwe
- See Also:
- Serialized Form
Fields inherited from class com.mysema.query.types.Expr |
primitive |
Methods inherited from class com.mysema.query.types.expr.ESimple |
as, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
EConstructor
public EConstructor(Class<D> type,
Class<?>[] paramTypes,
Expr<?>... args)
create
public static <D> EConstructor<D> create(Class<D> type,
Expr<?>... args)
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<D>
equals
public boolean equals(Object obj)
- Specified by:
equals
in class Expr<D>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Expr<D>
getArg
public final Expr<?> getArg(int index)
- Get the constructor invocation argument with the given index
- Parameters:
index
-
- Returns:
getArgs
public final List<Expr<?>> getArgs()
- Get the constructor invocation arguments
- Returns:
getJavaConstructor
public Constructor<D> getJavaConstructor()
- Returns the "real" constructor that matches the Constructor expression
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.