Class JaxbNamedHqlQueryImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbNamedHqlQueryImpl
- All Implemented Interfaces:
Serializable,JaxbNamedQuery,JaxbQueryHintContainer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected CacheModeprotected Stringprotected Stringprotected Stringprotected Integerprotected FlushModeprotected List<JaxbQueryHintImpl> protected LockModeTypeprotected Stringprotected Stringprotected List<JaxbQueryParamTypeImpl> protected Booleanprotected Integer -
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 description property.Gets the value of the fetchSize property.Gets the value of the flushMode property.getHints()Gets the value of the hints property.Gets the value of the lockMode property.getName()Gets the value of the name property.getQuery()Gets the value of the query property.Gets the value of the queryParam property.Gets the value of the timeout property.Gets the value of the cacheable property.Gets 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.voidsetDescription(String value) Sets the value of the description property.voidsetFetchSize(Integer value) Sets the value of the fetchSize property.voidsetFlushMode(FlushMode value) Sets the value of the flushMode property.voidsetLockMode(LockModeType value) Sets the value of the lockMode property.voidSets the value of the name property.voidSets the value of the query property.voidsetReadOnly(Boolean value) Sets the value of the readOnly property.voidsetTimeout(Integer value) Sets the value of the timeout property.
-
Field Details
-
description
-
query
-
lockMode
-
hints
-
comment
-
timeout
-
flushMode
-
cacheable
-
cacheMode
-
cacheRegion
-
fetchSize
-
readOnly
-
queryParam
-
name
-
-
Constructor Details
-
JaxbNamedHqlQueryImpl
public JaxbNamedHqlQueryImpl()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Specified by:
getDescriptionin interfaceJaxbQueryHintContainer- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getQuery
Gets the value of the query property.- Specified by:
getQueryin interfaceJaxbNamedQuery- Returns:
- possible object is
String
-
setQuery
Sets the value of the query property.- Parameters:
value- allowed object isString
-
getLockMode
Gets the value of the lockMode property.- Returns:
- possible object is
String
-
setLockMode
Sets the value of the lockMode property.- Parameters:
value- allowed object isString
-
getHints
Gets the value of the hints 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 hints property.For example, to add a new item, do as follows:
getHints().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbQueryHintImpl- Specified by:
getHintsin interfaceJaxbQueryHintContainer- Returns:
- The value of the hints property.
-
getComment
Gets the value of the comment property.- Specified by:
getCommentin interfaceJaxbNamedQuery- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getTimeout
Gets the value of the timeout property.- Specified by:
getTimeoutin interfaceJaxbNamedQuery- Returns:
- possible object is
Integer
-
setTimeout
Sets the value of the timeout property.- Parameters:
value- allowed object isInteger
-
getFlushMode
Gets the value of the flushMode property.- Specified by:
getFlushModein interfaceJaxbNamedQuery- Returns:
- possible object is
String
-
setFlushMode
Sets the value of the flushMode property.- Parameters:
value- allowed object isString
-
isCacheable
Gets the value of the cacheable property.- Specified by:
isCacheablein interfaceJaxbNamedQuery- Returns:
- possible object is
Boolean
-
setCacheable
Sets the value of the cacheable property.- Parameters:
value- allowed object isBoolean
-
getCacheMode
Gets the value of the cacheMode property.- Specified by:
getCacheModein interfaceJaxbNamedQuery- 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.- Specified by:
getCacheRegionin interfaceJaxbNamedQuery- Returns:
- possible object is
String
-
setCacheRegion
Sets the value of the cacheRegion property.- Parameters:
value- allowed object isString
-
getFetchSize
Gets the value of the fetchSize property.- Specified by:
getFetchSizein interfaceJaxbNamedQuery- Returns:
- possible object is
Integer
-
setFetchSize
Sets the value of the fetchSize property.- Parameters:
value- allowed object isInteger
-
isReadOnly
Gets the value of the readOnly property.- Specified by:
isReadOnlyin interfaceJaxbNamedQuery- Returns:
- possible object is
Boolean
-
setReadOnly
Sets the value of the readOnly property.- Parameters:
value- allowed object isBoolean
-
getQueryParam
Gets the value of the queryParam 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 queryParam property.For example, to add a new item, do as follows:
getQueryParam().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbQueryParamTypeImpl- Specified by:
getQueryParamin interfaceJaxbNamedQuery- Returns:
- The value of the queryParam property.
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbQueryHintContainer- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-