Package cz.cvut.kbss.jopa.query.criteria
Class SelectionImpl<X>
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<X>
- All Implemented Interfaces:
Selection<X>
,TupleElement<X>
- Direct Known Subclasses:
AbstractExpression
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
Return the alias assigned to the tuple element or null, if no alias has been assigned.Return the selection items composing a compound selection.Return the runtime Java type of the tuple element.boolean
Whether the selection item is a compound selection.
-
Field Details
-
type
-
-
Constructor Details
-
SelectionImpl
-
-
Method Details
-
isCompoundedSelection
public boolean isCompoundedSelection()Description copied from interface:Selection
Whether the selection item is a compound selection. Compounded selection is NOT YET SUPPORTED. Therefore, the method always returns false.- Specified by:
isCompoundedSelection
in interfaceSelection<X>
- Returns:
- boolean indicating whether the selection is a compound selection
-
getCompoundedSelectionItems
Description copied from interface:Selection
Return the selection items composing a compound selection. Modifications to the list do not affect the query. Compounded selection is NOT YET SUPPORTED. Therefore, the method always throws IllegalStateException.- Specified by:
getCompoundedSelectionItems
in interfaceSelection<X>
- Returns:
- list of selection items
-
getJavaType
Description copied from interface:TupleElement
Return the runtime Java type of the tuple element.- Specified by:
getJavaType
in interfaceTupleElement<X>
- Returns:
- the runtime Java type of the tuple element
-
getAlias
Description copied from interface:TupleElement
Return the alias assigned to the tuple element or null, if no alias has been assigned.- Specified by:
getAlias
in interfaceTupleElement<X>
- Returns:
- alias
-