public class SqlResultSetMapping
extends java.lang.Object
Java class for sql-result-set-mapping complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sql-result-set-mapping"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="entity-result" type="{http://java.sun.com/xml/ns/persistence/orm}entity-result" maxOccurs="unbounded" minOccurs="0"/> <element name="column-result" type="{http://java.sun.com/xml/ns/persistence/orm}column-result" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ColumnResult> |
columnResult |
protected java.lang.String |
description |
protected java.util.List<EntityResult> |
entityResult |
protected java.lang.String |
name |
Constructor and Description |
---|
SqlResultSetMapping() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ColumnResult> |
getColumnResult()
Gets the value of the columnResult property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<EntityResult> |
getEntityResult()
Gets the value of the entityResult property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
protected java.lang.String description
protected java.util.List<EntityResult> entityResult
protected java.util.List<ColumnResult> columnResult
protected java.lang.String name
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public java.util.List<EntityResult> getEntityResult()
set
method for the entityResult property.
For example, to add a new item, do as follows:
getEntityResult().add(newItem);Objects of the following type(s) are allowed in the list
EntityResult
public java.util.List<ColumnResult> getColumnResult()
set
method for the columnResult property.
For example, to add a new item, do as follows:
getColumnResult().add(newItem);Objects of the following type(s) are allowed in the list
ColumnResult
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String