Java class for named-query complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="named-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="lock-mode" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}lock-mode-type" minOccurs="0"/>
<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" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected List | |
| protected LockModeType | |
| protected String | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List | |
| public LockModeType | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void |
| description | back to summary |
|---|---|
protected String description
| |
| hint | back to summary |
|---|---|
protected List<JaxbQueryHint> hint
| |
| lockMode | back to summary |
|---|---|
protected LockModeType lockMode
| |
| name | back to summary |
|---|---|
protected String name
| |
| query | back to summary |
|---|---|
protected String query
| |
| JaxbNamedQuery | back to summary |
|---|---|
| public JaxbNamedQuery() | |
| 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
| |
| getLockMode | back to summary |
|---|---|
| public LockModeType getLockMode() Gets the value of the lockMode property.
| |
| 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. | |
| setDescription | back to summary |
|---|---|
| public void setDescription(String value) Sets the value of the description property. | |
| setLockMode | back to summary |
|---|---|
| public void setLockMode(LockModeType value) Sets the value of the lockMode 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. | |