Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.persistence
Interface TupleElement<X>

Type Parameters:
  `X` - the type of the element

All Known Subinterfaces:
  CollectionJoin<Z,E>, CompoundSelection<X>, CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, Expression<T>, From<Z,X>, Join<Z,X>, ListJoin<Z,E>, MapJoin<Z,K,V>, ParameterExpression<T>, Path<X>, PluralJoin<Z,C,E>, Predicate, Root<X>, Selection<X>, SetJoin<Z,E>, Subquery<T>

    public interface TupleElement<X>

The `TupleElement` interface defines an element that is returned in a query result tuple.

Since:
  Java Persistence 2.0
See Also:
  `Tuple`

Method Summary
`java.lang.String` | `getAlias()` Return the alias assigned to the tuple element or null, if no alias has been assigned.
`java.lang.Class<? extends X>` | `getJavaType()` Return the Java type of the tuple element.

Method Detail

### getJavaType

    java.lang.Class<? extends X> getJavaType()

  Return the Java type of the tuple element.

  Returns:
    the Java type of the tuple element

### getAlias

    java.lang.String getAlias()

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

  Returns:
    alias

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD