Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmResultSetMappingType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmResultSetMappingType
-
- All Implemented Interfaces:
java.io.Serializable
,ResultSetMappingBindingDefinition
public class JaxbHbmResultSetMappingType extends java.lang.Object implements java.io.Serializable, ResultSetMappingBindingDefinition
The resultset element declares a named resultset mapping definition for SQL queriesJava class for ResultSetMappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected java.util.List<java.io.Serializable>
valueMappingSources
-
Constructor Summary
Constructors Constructor Description JaxbHbmResultSetMappingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the value of the name property.java.util.List<java.io.Serializable>
getValueMappingSources()
Gets the value of the valueMappingSources property.void
setName(java.lang.String value)
Sets the value of the name property.
-
-
-
Method Detail
-
getValueMappingSources
public java.util.List<java.io.Serializable> 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 JAXB object. This is why there is not a
set
method 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
JaxbHbmNativeQueryScalarReturnType
JaxbHbmNativeQueryReturnType
JaxbHbmNativeQueryJoinReturnType
JaxbHbmNativeQueryCollectionLoadReturnType
- Specified by:
getValueMappingSources
in interfaceResultSetMappingBindingDefinition
- Returns:
- The value return JAXB mappings.
-
getName
public java.lang.String getName()
Gets the value of the name property.- Specified by:
getName
in interfaceResultSetMappingBindingDefinition
- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
-