EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference

javax.persistence
Interface TupleElement<X>

All Known Subinterfaces:
CollectionJoin<Z,E>, Expression<T>, From<Z,X>, Join<Z,X>, ListJoin<Z,E>, MapJoin<Z,K,V>, ParameterExpression<T>, Path<X>, PluralJoin<Z,C,E>, Predicate, QueryBuilder.Case<R>, QueryBuilder.Coalesce<T>, QueryBuilder.In<T>, QueryBuilder.SimpleCase<C,R>, 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.


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

Method Detail

getJavaType

java.lang.Class<X> getJavaType()
Return the Java type of the result element.

Returns:
the Java type of the result element

getAlias

java.lang.String getAlias()
Return the alias assigned to the element or null, if no alias has been assigned.

Returns:
alias

EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference