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 Boolean
protected CacheMode
protected String
protected String
protected String
protected Integer
protected FlushMode
protected List<JaxbQueryHintImpl>
protected LockModeType
protected String
protected String
protected List<JaxbQueryParamTypeImpl>
protected Boolean
protected 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.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
setDescription
(String value) Sets the value of the description property.void
setFetchSize
(Integer value) Sets the value of the fetchSize property.void
setFlushMode
(FlushMode value) Sets the value of the flushMode property.void
setLockMode
(LockModeType value) Sets the value of the lockMode property.void
Sets the value of the name property.void
Sets the value of the query property.void
setReadOnly
(Boolean value) Sets the value of the readOnly property.void
setTimeout
(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:
getDescription
in 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:
getQuery
in 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
set
method 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:
getHints
in interfaceJaxbQueryHintContainer
- Returns:
- The value of the hints property.
-
getComment
Gets the value of the comment property.- Specified by:
getComment
in 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:
getTimeout
in 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:
getFlushMode
in 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:
isCacheable
in 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:
getCacheMode
in 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:
getCacheRegion
in 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:
getFetchSize
in 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:
isReadOnly
in 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
set
method 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:
getQueryParam
in interfaceJaxbNamedQuery
- Returns:
- The value of the queryParam property.
-
getName
Gets the value of the name property.- Specified by:
getName
in interfaceJaxbQueryHintContainer
- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-