X - the type of the selection itempublic interface Selection<X> extends TupleElement<X>
Selection interface defines an item that is to be
 returned in a query result.| Modifier and Type | Method and Description | 
|---|---|
| Selection<X> | alias(String name)Assigns an alias to the selection item. | 
| List<Selection<?>> | getCompoundSelectionItems()Return the selection items composing a compound selection. | 
| boolean | isCompoundSelection()Whether the selection item is a compound selection. | 
getAlias, getJavaTypeSelection<X> alias(String name)
name - aliasboolean isCompoundSelection()
List<Selection<?>> getCompoundSelectionItems()
IllegalStateException - if selection is not a
 compound selectionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.