public class CompoundSelectionImpl extends SelectionImpl
Purpose: Contains the implementation of the Selection interface of the JPA criteria API.
Description: The Selection is the expression describing what should be returned by the query.
Join,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<java.lang.String> |
duplicateAliasNames |
protected java.util.ArrayList<<any>> |
subSelections |
alias, currentNode, javaType| Constructor and Description |
|---|
CompoundSelectionImpl(java.lang.Class javaType,
Selection[] subSelections) |
CompoundSelectionImpl(java.lang.Class javaType,
Selection[] subSelections,
boolean validate) |
| Modifier and Type | Method and Description |
|---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery) |
java.util.List<<any>> |
getCompoundSelectionItems()
Return selection items composing a compound selection
|
protected java.util.List<java.lang.String> |
getDuplicateAliasNames()
Returns the collection used to store any duplicate alias names found within this CompoundSelection Item
|
boolean |
isCompoundSelection()
Whether the selection item is a compound selection
|
alias, getAlias, getCurrentNode, getJavaType, isConstructor, isFrom, isRootprotected java.util.ArrayList<<any>> subSelections
protected java.util.ArrayList<java.lang.String> duplicateAliasNames
public CompoundSelectionImpl(java.lang.Class javaType,
Selection[] subSelections)
public CompoundSelectionImpl(java.lang.Class javaType,
Selection[] subSelections,
boolean validate)
public boolean isCompoundSelection()
isCompoundSelection in class SelectionImplpublic java.util.List<<any>> getCompoundSelectionItems()
getCompoundSelectionItems in class SelectionImpljava.lang.IllegalStateException - if selection is not a compound
selectionprotected java.util.List<java.lang.String> getDuplicateAliasNames()
public void findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery)