public class JaxbHbmNamedNativeQueryType
extends java.lang.Object
implements java.io.Serializable
Java class for NamedNativeQueryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamedNativeQueryType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="query-param" type="{http://www.hibernate.org/xsd/orm/hbm}QueryParamType"/> <group ref="{http://www.hibernate.org/xsd/orm/hbm}NativeQueryReturnGroup"/> <element name="synchronize" type="{http://www.hibernate.org/xsd/orm/hbm}synchronize-type"/> </choice> <attribute name="cache-mode" type="{http://www.hibernate.org/xsd/orm/hbm}CacheModeEnum" /> <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}int" /> <attribute name="flush-mode" type="{http://www.hibernate.org/xsd/orm/hbm}FlushModeEnum" /> <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" default="false" /> <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="callable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="resultset-ref" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
cacheable |
protected CacheMode |
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.Integer |
fetchSize |
protected FlushMode |
flushMode |
protected java.lang.String |
name |
protected java.lang.Boolean |
readOnly |
protected java.lang.String |
resultsetRef |
protected java.lang.Integer |
timeout |
Constructor and Description |
---|
JaxbHbmNamedNativeQueryType() |
Modifier and Type | Method and Description |
---|---|
CacheMode |
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()
The sql-query element declares a named SQL query string
Gets the value of the content property.
|
java.lang.Integer |
getFetchSize()
Gets the value of the fetchSize property.
|
FlushMode |
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.Integer |
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.
|
boolean |
isReadOnly()
Gets the value of the readOnly property.
|
void |
setCacheable(java.lang.Boolean value)
Sets the value of the cacheable property.
|
void |
setCacheMode(CacheMode 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.Integer value)
Sets the value of the fetchSize property.
|
void |
setFlushMode(FlushMode 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.Integer value)
Sets the value of the timeout property.
|
protected java.util.List<java.io.Serializable> content
protected CacheMode cacheMode
protected java.lang.String cacheRegion
protected java.lang.Boolean cacheable
protected java.lang.String comment
protected java.lang.Integer fetchSize
protected FlushMode flushMode
protected java.lang.String name
protected java.lang.Boolean readOnly
protected java.lang.Integer timeout
protected java.lang.Boolean callable
protected java.lang.String resultsetRef
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
String
JAXBElement
<
JaxbHbmNativeQueryReturnType
>
JAXBElement
<
JaxbHbmSynchronizeType
>
JAXBElement
<
JaxbHbmNativeQueryJoinReturnType
>
JAXBElement
<
JaxbHbmQueryParamType
>
JAXBElement
<
JaxbHbmNativeQueryScalarReturnType
>
JAXBElement
<
JaxbHbmNativeQueryCollectionLoadReturnType
>
public CacheMode getCacheMode()
String
public void setCacheMode(CacheMode value)
value
- allowed object is
String
public java.lang.String getCacheRegion()
String
public void setCacheRegion(java.lang.String value)
value
- allowed object is
String
public boolean isCacheable()
Boolean
public void setCacheable(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getComment()
String
public void setComment(java.lang.String value)
value
- allowed object is
String
public java.lang.Integer getFetchSize()
Integer
public void setFetchSize(java.lang.Integer value)
value
- allowed object is
Integer
public FlushMode getFlushMode()
String
public void setFlushMode(FlushMode value)
value
- allowed object is
String
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public boolean isReadOnly()
Boolean
public void setReadOnly(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.Integer getTimeout()
Integer
public void setTimeout(java.lang.Integer value)
value
- allowed object is
Integer
public boolean isCallable()
Boolean
public void setCallable(java.lang.Boolean value)
value
- allowed object is
Boolean
public java.lang.String getResultsetRef()
String
public void setResultsetRef(java.lang.String value)
value
- allowed object is
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.