getCompoundSelectionItems() - JPA Selection's method

Method
javax.persistence.criteria.Selection
List<Selection<?>> getCompoundSelectionItems()

Return the selection items composing a compound selection. Modifications to the list do not affect the query.
Returns:
list of selection items
Throws:
IllegalStateException - if selection is not a compound selection
Since:
JPA 2.0