Package org.hibernate.boot.jaxb.hbm.spi
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 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 String
name
protected List<Serializable>
valueMappingSources
-
Constructor Summary
Constructors Constructor Description JaxbHbmResultSetMappingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the value of the name property.List<Serializable>
getValueMappingSources()
Gets the value of the valueMappingSources property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
valueMappingSources
protected List<Serializable> valueMappingSources
-
name
protected String name
-
-
Method Detail
-
getValueMappingSources
public List<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 Jakarta XML Binding 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
JaxbHbmNativeQueryCollectionLoadReturnType
JaxbHbmNativeQueryJoinReturnType
JaxbHbmNativeQueryReturnType
JaxbHbmNativeQueryScalarReturnType
- Specified by:
getValueMappingSources
in interfaceResultSetMappingBindingDefinition
- Returns:
- The value of the valueMappingSources property.
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getName
in interfaceResultSetMappingBindingDefinition
- Returns:
- possible object is
String
-
-