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 Modifier and Type Class Description static class
ImplicitResultSetMappingDefinition.Builder
-
Constructor Summary
Constructors Constructor Description ImplicitResultSetMappingDefinition(String resultSetMappingName, List valueMappingSources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The ResultSet mapping nameList
getValueMappingSources()
Get the JAXB mappings for each defined value return in the ResultSet mapping.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ResultSetMappingBindingDefinition
The ResultSet mapping name- Specified by:
getName
in interfaceResultSetMappingBindingDefinition
- Returns:
- The name.
-
getValueMappingSources
public List 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.
-
-