public class JaxbHbmNamedNativeQueryType extends Object implements 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 Boolean |
cacheable |
protected CacheMode |
cacheMode |
protected String |
cacheRegion |
protected Boolean |
callable |
protected String |
comment |
protected List<Serializable> |
content |
protected Integer |
fetchSize |
protected FlushMode |
flushMode |
protected String |
name |
protected Boolean |
readOnly |
protected String |
resultsetRef |
protected Integer |
timeout |
Constructor and Description |
---|
JaxbHbmNamedNativeQueryType() |
Modifier and Type | Method and Description |
---|---|
CacheMode |
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()
The sql-query element declares a named SQL query string
Gets the value of the content property.
|
Integer |
getFetchSize()
Gets the value of the fetchSize property.
|
FlushMode |
getFlushMode()
Gets the value of the flushMode property.
|
String |
getName()
Gets the value of the name property.
|
String |
getResultsetRef()
Gets the value of the resultsetRef property.
|
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(Boolean value)
Sets the value of the cacheable property.
|
void |
setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
setCacheRegion(String value)
Sets the value of the cacheRegion property.
|
void |
setCallable(Boolean value)
Sets the value of the callable property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setFetchSize(Integer value)
Sets the value of the fetchSize property.
|
void |
setFlushMode(FlushMode 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 |
setResultsetRef(String value)
Sets the value of the resultsetRef property.
|
void |
setTimeout(Integer value)
Sets the value of the timeout property.
|
protected List<Serializable> content
protected CacheMode cacheMode
protected String cacheRegion
protected Boolean cacheable
protected String comment
protected Integer fetchSize
protected FlushMode flushMode
protected String name
protected Boolean readOnly
protected Integer timeout
protected Boolean callable
protected String resultsetRef
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
<
JaxbHbmQueryParamType
>
JAXBElement
<
JaxbHbmNativeQueryScalarReturnType
>
JAXBElement
<
JaxbHbmNativeQueryReturnType
>
JAXBElement
<
JaxbHbmNativeQueryJoinReturnType
>
JAXBElement
<
JaxbHbmNativeQueryCollectionLoadReturnType
>
JAXBElement
<
JaxbHbmSynchronizeType
>
String
public CacheMode getCacheMode()
String
public void setCacheMode(CacheMode value)
value
- allowed object is
String
public String getCacheRegion()
String
public void setCacheRegion(String value)
value
- allowed object is
String
public boolean isCacheable()
Boolean
public void setCacheable(Boolean value)
value
- allowed object is
Boolean
public String getComment()
String
public void setComment(String value)
value
- allowed object is
String
public Integer getFetchSize()
Integer
public void setFetchSize(Integer value)
value
- allowed object is
Integer
public FlushMode getFlushMode()
String
public void setFlushMode(FlushMode value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public boolean isReadOnly()
Boolean
public void setReadOnly(Boolean value)
value
- allowed object is
Boolean
public Integer getTimeout()
Integer
public void setTimeout(Integer value)
value
- allowed object is
Integer
public boolean isCallable()
Boolean
public void setCallable(Boolean value)
value
- allowed object is
Boolean
public String getResultsetRef()
String
Copyright © 2021 JBoss by Red Hat. All rights reserved.