public class JaxbSqlQueryElement
extends java.lang.Object
Java class for sql-query-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sql-query-element">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="return-scalar" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-scalar-element"/>
<element name="return" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-element"/>
<element name="return-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-join-element"/>
<element name="load-collection" type="{http://www.hibernate.org/xsd/hibernate-mapping}load-collection-element"/>
<element name="synchronize" type="{http://www.hibernate.org/xsd/hibernate-mapping}synchronize-element"/>
<element name="query-param" type="{http://www.hibernate.org/xsd/hibernate-mapping}query-param-element"/>
</choice>
<attribute name="cache-mode" type="{http://www.hibernate.org/xsd/hibernate-mapping}cache-mode-attribute" />
<attribute name="cache-region" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="cacheable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="callable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fetch-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="flush-mode" type="{http://www.hibernate.org/xsd/hibernate-mapping}flush-mode-attribute" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="resultset-ref" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
cacheable |
protected JaxbCacheModeAttribute |
cacheMode |
protected java.lang.String |
cacheRegion |
protected java.lang.Boolean |
callable |
protected java.lang.String |
comment |
protected java.util.List<java.io.Serializable> |
content |
protected java.lang.String |
fetchSize |
protected JaxbFlushModeAttribute |
flushMode |
protected java.lang.String |
name |
protected java.lang.Boolean |
readOnly |
protected java.lang.String |
resultsetRef |
protected java.lang.String |
timeout |
| Constructor and Description |
|---|
JaxbSqlQueryElement() |
| Modifier and Type | Method and Description |
|---|---|
JaxbCacheModeAttribute |
getCacheMode()
Gets the value of the cacheMode property.
|
java.lang.String |
getCacheRegion()
Gets the value of the cacheRegion property.
|
java.lang.String |
getComment()
Gets the value of the comment property.
|
java.util.List<java.io.Serializable> |
getContent()
Gets the value of the content property.
|
java.lang.String |
getFetchSize()
Gets the value of the fetchSize property.
|
JaxbFlushModeAttribute |
getFlushMode()
Gets the value of the flushMode property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getResultsetRef()
Gets the value of the resultsetRef property.
|
java.lang.String |
getTimeout()
Gets the value of the timeout property.
|
boolean |
isCacheable()
Gets the value of the cacheable property.
|
boolean |
isCallable()
Gets the value of the callable property.
|
java.lang.Boolean |
isReadOnly()
Gets the value of the readOnly property.
|
void |
setCacheable(java.lang.Boolean value)
Sets the value of the cacheable property.
|
void |
setCacheMode(JaxbCacheModeAttribute value)
Sets the value of the cacheMode property.
|
void |
setCacheRegion(java.lang.String value)
Sets the value of the cacheRegion property.
|
void |
setCallable(java.lang.Boolean value)
Sets the value of the callable property.
|
void |
setComment(java.lang.String value)
Sets the value of the comment property.
|
void |
setFetchSize(java.lang.String value)
Sets the value of the fetchSize property.
|
void |
setFlushMode(JaxbFlushModeAttribute value)
Sets the value of the flushMode property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.
|
void |
setResultsetRef(java.lang.String value)
Sets the value of the resultsetRef property.
|
void |
setTimeout(java.lang.String value)
Sets the value of the timeout property.
|
protected java.util.List<java.io.Serializable> content
protected JaxbCacheModeAttribute cacheMode
protected java.lang.String cacheRegion
protected java.lang.Boolean cacheable
protected java.lang.Boolean callable
protected java.lang.String comment
protected java.lang.String fetchSize
protected JaxbFlushModeAttribute flushMode
protected java.lang.String name
protected java.lang.Boolean readOnly
protected java.lang.String resultsetRef
protected java.lang.String timeout
public java.util.List<java.io.Serializable> getContent()
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 set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<JaxbReturnJoinElement>
JAXBElement<JaxbSynchronizeElement>
JAXBElement<JaxbLoadCollectionElement>
JAXBElement<JaxbReturnScalarElement>
String
JAXBElement<JaxbQueryParamElement>
JAXBElement<JaxbReturnElement>
public JaxbCacheModeAttribute getCacheMode()
JaxbCacheModeAttributepublic void setCacheMode(JaxbCacheModeAttribute value)
value - allowed object is
JaxbCacheModeAttributepublic java.lang.String getCacheRegion()
Stringpublic void setCacheRegion(java.lang.String value)
value - allowed object is
Stringpublic boolean isCacheable()
Booleanpublic void setCacheable(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isCallable()
Booleanpublic void setCallable(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getComment()
Stringpublic void setComment(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getFetchSize()
Stringpublic void setFetchSize(java.lang.String value)
value - allowed object is
Stringpublic JaxbFlushModeAttribute getFlushMode()
JaxbFlushModeAttributepublic void setFlushMode(JaxbFlushModeAttribute value)
value - allowed object is
JaxbFlushModeAttributepublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isReadOnly()
Booleanpublic void setReadOnly(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getResultsetRef()
Stringpublic void setResultsetRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTimeout()
Stringpublic void setTimeout(java.lang.String value)
value - allowed object is
StringCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.