Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmNamedQueryType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNamedQueryType
- All Implemented Interfaces:
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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the cacheMode property.Gets the value of the cacheRegion property.Gets the value of the comment property.Gets the value of the content property.Gets the value of the fetchSize property.Gets the value of the flushMode property.getName()Gets the value of the name property.Gets the value of the timeout property.booleanGets the value of the cacheable property.booleanGets the value of the readOnly property.voidsetCacheable(Boolean value) Sets the value of the cacheable property.voidsetCacheMode(CacheMode value) Sets the value of the cacheMode property.voidsetCacheRegion(String value) Sets the value of the cacheRegion property.voidsetComment(String value) Sets the value of the comment property.voidsetFetchSize(Integer value) Sets the value of the fetchSize property.voidsetFlushMode(FlushMode value) Sets the value of the flushMode property.voidSets the value of the name property.voidsetReadOnly(Boolean value) Sets the value of the readOnly property.voidsetTimeout(Integer value) Sets the value of the timeout property.
-
Field Details
-
-
cacheMode
-
cacheRegion
-
cacheable
-
comment
-
fetchSize
-
flushMode
-
name
-
readOnly
-
timeout
-
-
Constructor Details
-
JaxbHbmNamedQueryType
public JaxbHbmNamedQueryType()
-
-
Method Details
-
getContent
Gets the value of the content property.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
setmethod 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- Returns:
- The value of the content property.
-
getCacheMode
Gets the value of the cacheMode property.- Returns:
- possible object is
String
-
setCacheMode
Sets the value of the cacheMode property.- Parameters:
value- allowed object isString
-
getCacheRegion
Gets the value of the cacheRegion property.- Returns:
- possible object is
String
-
setCacheRegion
Sets the value of the cacheRegion property.- Parameters:
value- allowed object isString
-
isCacheable
public boolean isCacheable()Gets the value of the cacheable property.- Returns:
- possible object is
Boolean
-
setCacheable
Sets the value of the cacheable property.- Parameters:
value- allowed object isBoolean
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getFetchSize
Gets the value of the fetchSize property.- Returns:
- possible object is
Integer
-
setFetchSize
Sets the value of the fetchSize property.- Parameters:
value- allowed object isInteger
-
getFlushMode
Gets the value of the flushMode property.- Returns:
- possible object is
String
-
setFlushMode
Sets the value of the flushMode property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isReadOnly
public boolean isReadOnly()Gets the value of the readOnly property.- Returns:
- possible object is
Boolean
-
setReadOnly
Sets the value of the readOnly property.- Parameters:
value- allowed object isBoolean
-
getTimeout
Gets the value of the timeout property.- Returns:
- possible object is
Integer
-
setTimeout
Sets the value of the timeout property.- Parameters:
value- allowed object isInteger
-