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