EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

javax.persistence.criteria
Interface Selection<X>

Type Parameters:
X - the type of the selection item
All Superinterfaces:
ResultItem<X>
All Known Subinterfaces:
AbstractCollectionJoin<Z,C,E>, CollectionJoin<Z,E>, Expression<T>, From<Z,X>, Join<Z,X>, ListJoin<Z,E>, MapJoin<Z,K,V>, Parameter<T>, Path<X>, 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 ResultItem<X>

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


Method Summary
 void setAlias(java.lang.String name)
          Assign an alias to the selection.
 
Methods inherited from interface javax.persistence.ResultItem
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.v20090424-r4050 API Reference