Class ImplicitResultSetMappingDefinition
java.lang.Object
org.hibernate.boot.jaxb.hbm.internal.ImplicitResultSetMappingDefinition
- All Implemented Interfaces:
ResultSetMappingBindingDefinition
public class ImplicitResultSetMappingDefinition
extends Object
implements ResultSetMappingBindingDefinition
Models the ResultSet mapping defined inline as part of a named native query definition
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionImplicitResultSetMappingDefinition
(String resultSetMappingName, List valueMappingSources) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The ResultSet mapping nameGet the JAXB mappings for each defined value return in the ResultSet mapping.
-
Constructor Details
-
ImplicitResultSetMappingDefinition
-
-
Method Details
-
getName
Description copied from interface:ResultSetMappingBindingDefinition
The ResultSet mapping name- Specified by:
getName
in interfaceResultSetMappingBindingDefinition
- Returns:
- The name.
-
getValueMappingSources
Description copied from interface:ResultSetMappingBindingDefinition
Get the JAXB mappings for each defined value return in the ResultSet mapping. The elements here will all be of typeNativeQueryReturn
. However the generate JAXB bindings do not understand that as a commonality between all of the sub-element types.- Specified by:
getValueMappingSources
in interfaceResultSetMappingBindingDefinition
- Returns:
- The value return JAXB mappings.
-