ObjectDB ObjectDB

javax.persistence.TupleElement - JPA interface

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.
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.
Return the Java type of the tuple element.
Returns:
the Java type of the tuple element
Since:
JPA 2.0