Class JaxbHbmResultSetMappingType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmResultSetMappingType
- All Implemented Interfaces:
Serializable, ResultSetMappingBindingDefinition
public class JaxbHbmResultSetMappingType
extends Object
implements Serializable, ResultSetMappingBindingDefinition
The resultset element declares a named resultset mapping definition for SQL queries
<p>Java class for ResultSetMappingType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="ResultSetMappingType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<group ref="{http://www.hibernate.org/xsd/orm/hbm}NativeQueryReturnGroup"/>
</choice>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the value of the name property.Gets the value of the valueMappingSources property.voidSets the value of the name property.
-
Field Details
-
valueMappingSources
-
name
-
-
Constructor Details
-
JaxbHbmResultSetMappingType
public JaxbHbmResultSetMappingType()
-
-
Method Details
-
getValueMappingSources
Gets the value of the valueMappingSources property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the valueMappingSources property.For example, to add a new item, do as follows:
getValueMappingSources().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmNativeQueryCollectionLoadReturnTypeJaxbHbmNativeQueryJoinReturnTypeJaxbHbmNativeQueryReturnTypeJaxbHbmNativeQueryScalarReturnType- Specified by:
getValueMappingSourcesin interfaceResultSetMappingBindingDefinition- Returns:
- The value of the valueMappingSources property.
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceResultSetMappingBindingDefinition- Returns:
- possible object is
String
-
setName
-