javax.persistence.TupleElement - JPA interface
javax.persistence
Interface TupleElement<X>
- Subinterfaces:
- CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, Selection, SetJoin, Subquery
The
TupleElement
interface defines an element that is returned in a query result tuple. - Since:
- JPA 2.0
- See Also:
- Tuple
String getAlias()
Return the alias assigned to the tuple element or null, if no alias has been assigned.
- Returns:
- alias
- Since:
- JPA 2.0
Class<?> getJavaType()
Return the Java type of the tuple element.
- Returns:
- the Java type of the tuple element
- Since:
- JPA 2.0