Interface MappingElement<T>
- Type Parameters:
T- The type returned
- All Superinterfaces:
TupleElement<T>
- All Known Implementing Classes:
ColumnMapping, ConstructorMapping, EntityMapping
public sealed interface MappingElement<T>
extends TupleElement<T>
permits EntityMapping<T>, ColumnMapping<T>, ConstructorMapping<T>
Supertype of objects which map a column or columns of a
JDBC
ResultSet to a Java type returned
by the query. In particular, a CompoundMapping
or TupleMapping packages a list of
MappingElements.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionSpecify an alias for this element of the result set.Methods inherited from interface TupleElement
getAlias, getJavaType
-
Method Details
-
withAlias
Specify an alias for this element of the result set.- Parameters:
alias- The alias
-