public class JaxbHbmNamedQueryType extends Object implements Serializable
Java class for NamedQueryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamedQueryType"> <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"/> </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" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
cacheable |
protected CacheMode |
cacheMode |
protected String |
cacheRegion |
protected String |
comment |
protected List<Serializable> |
content |
protected Integer |
fetchSize |
protected FlushMode |
flushMode |
protected String |
name |
protected Boolean |
readOnly |
protected Integer |
timeout |
Constructor and Description |
---|
JaxbHbmNamedQueryType() |
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()
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.
|
Integer |
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(CacheMode 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(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 |
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
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
>
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
Copyright © 2021 JBoss by Red Hat. All rights reserved.