|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.internal.jaxb.mapping.hbm.JaxbQueryElement
public class JaxbQueryElement
Java class for query-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="query-element">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="query-param" type="{http://www.hibernate.org/xsd/hibernate-mapping}query-param-element"/>
</sequence>
<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="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="timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Boolean |
cacheable
|
protected JaxbCacheModeAttribute |
cacheMode
|
protected String |
cacheRegion
|
protected String |
comment
|
protected List<Serializable> |
content
|
protected String |
fetchSize
|
protected JaxbFlushModeAttribute |
flushMode
|
protected String |
name
|
protected Boolean |
readOnly
|
protected String |
timeout
|
| Constructor Summary | |
|---|---|
JaxbQueryElement()
|
|
| Method Summary | |
|---|---|
JaxbCacheModeAttribute |
getCacheMode()
Gets the value of the cacheMode property. |
String |
getCacheRegion()
Gets the value of the cacheRegion property. |
String |
getComment()
Gets the value of the comment property. |
List<Serializable> |
getContent()
Gets the value of the content property. |
String |
getFetchSize()
Gets the value of the fetchSize property. |
JaxbFlushModeAttribute |
getFlushMode()
Gets the value of the flushMode property. |
String |
getName()
Gets the value of the name property. |
String |
getTimeout()
Gets the value of the timeout property. |
boolean |
isCacheable()
Gets the value of the cacheable property. |
Boolean |
isReadOnly()
Gets the value of the readOnly property. |
void |
setCacheable(Boolean value)
Sets the value of the cacheable property. |
void |
setCacheMode(JaxbCacheModeAttribute value)
Sets the value of the cacheMode property. |
void |
setCacheRegion(String value)
Sets the value of the cacheRegion property. |
void |
setComment(String value)
Sets the value of the comment property. |
void |
setFetchSize(String value)
Sets the value of the fetchSize property. |
void |
setFlushMode(JaxbFlushModeAttribute value)
Sets the value of the flushMode property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setReadOnly(Boolean value)
Sets the value of the readOnly property. |
void |
setTimeout(String value)
Sets the value of the timeout property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Serializable> content
protected JaxbCacheModeAttribute cacheMode
protected String cacheRegion
protected Boolean cacheable
protected String comment
protected String fetchSize
protected JaxbFlushModeAttribute flushMode
protected String name
protected Boolean readOnly
protected String timeout
| Constructor Detail |
|---|
public JaxbQueryElement()
| Method Detail |
|---|
public List<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<JaxbQueryParamElement>
String
public JaxbCacheModeAttribute getCacheMode()
JaxbCacheModeAttributepublic void setCacheMode(JaxbCacheModeAttribute value)
value - allowed object is
JaxbCacheModeAttributepublic String getCacheRegion()
Stringpublic void setCacheRegion(String value)
value - allowed object is
Stringpublic boolean isCacheable()
Booleanpublic void setCacheable(Boolean value)
value - allowed object is
Booleanpublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic String getFetchSize()
Stringpublic void setFetchSize(String value)
value - allowed object is
Stringpublic JaxbFlushModeAttribute getFlushMode()
JaxbFlushModeAttributepublic void setFlushMode(JaxbFlushModeAttribute value)
value - allowed object is
JaxbFlushModeAttributepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Boolean isReadOnly()
Booleanpublic void setReadOnly(Boolean value)
value - allowed object is
Booleanpublic String getTimeout()
Stringpublic void setTimeout(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||