EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference

javax.persistence.criteria
Interface Selection<X>

Type Parameters:
X - the type of the selection item
All Superinterfaces:
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>, SetJoin<Z,E>, Subquery<T>

public interface Selection<X>
extends TupleElement<X>

The Selection interface defines an item that is returned by a query.

Since:
Java Persistence 2.0

Method Summary
 void setAlias(java.lang.String name)
          Assign an alias to the selection.
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Method Detail

setAlias

void setAlias(java.lang.String name)
Assign an alias to the selection.

Parameters:
name - alias

EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference