Java class for named-native-query complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="named-native-query">
<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="query" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="hint" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}query-hint" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-class" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-set-mapping" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected List | |
| protected String | |
| protected String | |
| protected String | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List | |
| public String | |
| public String | |
| public String | |
| public String | Returns: possible object isStringGets the value of the resultSetMapping property. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setResultSetMapping(String
allowed object is
value)StringSets the value of the resultSetMapping property. |
| description | back to summary |
|---|---|
protected String description
| |
| hint | back to summary |
|---|---|
protected List<JaxbQueryHint> hint
| |
| name | back to summary |
|---|---|
protected String name
| |
| query | back to summary |
|---|---|
protected String query
| |
| resultClass | back to summary |
|---|---|
protected String resultClass
| |
| resultSetMapping | back to summary |
|---|---|
protected String resultSetMapping
| |
| JaxbNamedNativeQuery | back to summary |
|---|---|
| public JaxbNamedNativeQuery() | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Gets the value of the description property. | |
| getHint | back to summary |
|---|---|
| public List Gets the value of the hint 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 For example, to add a new item, do as follows: getHint().add(newItem);
Objects of the following type(s) are allowed in the list
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the value of the name property. | |
| getQuery | back to summary |
|---|---|
| public String getQuery() Gets the value of the query property. | |
| getResultClass | back to summary |
|---|---|
| public String getResultClass() Gets the value of the resultClass property. | |
| getResultSetMapping | back to summary |
|---|---|
| public String getResultSetMapping() Gets the value of the resultSetMapping property. | |
| setDescription | back to summary |
|---|---|
| public void setDescription(String value) Sets the value of the description property. | |
| setName | back to summary |
|---|---|
| public void setName(String value) Sets the value of the name property. | |
| setQuery | back to summary |
|---|---|
| public void setQuery(String value) Sets the value of the query property. | |
| setResultClass | back to summary |
|---|---|
| public void setResultClass(String value) Sets the value of the resultClass property. | |
| setResultSetMapping | back to summary |
|---|---|
| public void setResultSetMapping(String value) Sets the value of the resultSetMapping property. | |