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>The following schema fragment specifies the expected content contained within this class.
<pre> <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>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<Serializable> |
valueMappingSources |
Constructor and Description |
---|
JaxbHbmResultSetMappingType() |
Modifier and Type | Method and 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.
|
protected List<Serializable> valueMappingSources
protected String name
public List<Serializable> getValueMappingSources()
Gets the value of the valueMappingSources property.
<p> 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 <CODE>set</CODE> method for the valueMappingSources property.
<p> For example, to add a new item, do as follows: <pre> getValueMappingSources().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmNativeQueryScalarReturnType
JaxbHbmNativeQueryReturnType
JaxbHbmNativeQueryJoinReturnType
JaxbHbmNativeQueryCollectionLoadReturnType
getValueMappingSources
in interface ResultSetMappingBindingDefinition
public String getName()
Gets the value of the name property.
getName
in interface ResultSetMappingBindingDefinition
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.