Jakarta Persistence (JPA) Interface
jakarta.persistence.criteria.CompoundSelection<X>
- Type Parameters:
-
<X>- the type of the selection item
- Super Interfaces:
-
Selection<X>,TupleElement<X>
The
CompoundSelection
interface defines a compound selection item (a tuple, array, or result of a constructor).
- Since:
- Jakarta Persistence (JPA) 2.0
Public Instance Methods
Once assigned, an alias cannot be changed or reassigned. Returns the same selection item.
Inherited from
Selection<X>
- Parameters:
-
name- alias
- Returns:
- selection item.
- Since:
- Jakarta Persistence (JPA) 1.0
String
getAlias
()
Modifications to the list do not affect the query.
Inherited from
Selection<X>
- Returns:
- list of selection items.
- Throws:
-
- if selection is not a compound selection.IllegalStateException
- Since:
- Jakarta Persistence (JPA) 1.0
Class<? extends X>
getJavaType
()
Inherited from
TupleElement<X>
- Returns:
- the Java type of the tuple element.
- Since:
- Jakarta Persistence (JPA) 1.0
boolean
isCompoundSelection
()
Inherited from
Selection<X>
- Returns:
- boolean indicating whether the selection is a compound selection.
- Since:
- Jakarta Persistence (JPA) 1.0