JPA Interface

TupleElement

Type Parameters:
<X> - the type of the element

The TupleElement interface defines an element that is returned in a query result tuple.
See Also:
Tuple
Since:
JPA 2.0

Public Methods

String getAlias()
Return the alias assigned to the tuple element or null, if no alias has been assigned.
Return:
alias
Since:
JPA 2.0
Class<?extendsX> getJavaType()
Return the Java type of the tuple element.
Return:
the Java type of the tuple element
Since:
JPA 2.0