Jakarta Persistence (JPA) Interface

jakarta.persistence.TupleElement<X>

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

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

Public Instance Methods

String getAlias()
Return the alias assigned to the tuple element or null, if no alias has been assigned.
Returns:
alias.
Since:
Jakarta Persistence (JPA) 1.0
Class<? extends X> getJavaType()
Return the Java type of the tuple element.
Returns:
the Java type of the tuple element.
Since:
Jakarta Persistence (JPA) 1.0