Top Description Methods
javax.persistence

public Interface TupleElement<X>

Known Direct Subinterfaces
javax.persistence.criteria.Selection
Type Parameters
<X>
the type of the element

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

alias
getAlias
()

Return the alias assigned to the tuple element or null, if no alias has been assigned.

public Class<? extends X>

Returns:

the Java type of the tuple element
getJavaType
()

Return the Java type of the tuple element.

Method Detail

getAliasback to summary
public String getAlias()

Return the alias assigned to the tuple element or null, if no alias has been assigned.

Returns:String

alias

getJavaTypeback to summary
public Class<? extends X> getJavaType()

Return the Java type of the tuple element.

Returns:Class<? extends X>

the Java type of the tuple element