Class JaxbHbmNamedNativeQueryType

  • All Implemented Interfaces:
    java.io.Serializable

    public class JaxbHbmNamedNativeQueryType
    extends java.lang.Object
    implements java.io.Serializable
    The sql-query element declares a named SQL query string

    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>
     
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CacheMode getCacheMode()
      Gets the value of the cacheMode property.
      java.lang.String getCacheRegion()
      Gets the value of the cacheRegion property.
      java.lang.String getComment()
      Gets the value of the comment property.
      java.util.List<java.io.Serializable> getContent()
      The sql-query element declares a named SQL query string Gets the value of the content property.
      java.lang.Integer getFetchSize()
      Gets the value of the fetchSize property.
      FlushMode getFlushMode()
      Gets the value of the flushMode property.
      java.lang.String getName()
      Gets the value of the name property.
      java.lang.String getResultsetRef()
      Gets the value of the resultsetRef property.
      java.lang.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​(java.lang.Boolean value)
      Sets the value of the cacheable property.
      void setCacheMode​(CacheMode value)
      Sets the value of the cacheMode property.
      void setCacheRegion​(java.lang.String value)
      Sets the value of the cacheRegion property.
      void setCallable​(java.lang.Boolean value)
      Sets the value of the callable property.
      void setComment​(java.lang.String value)
      Sets the value of the comment property.
      void setFetchSize​(java.lang.Integer value)
      Sets the value of the fetchSize property.
      void setFlushMode​(FlushMode value)
      Sets the value of the flushMode property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setReadOnly​(java.lang.Boolean value)
      Sets the value of the readOnly property.
      void setResultsetRef​(java.lang.String value)
      Sets the value of the resultsetRef property.
      void setTimeout​(java.lang.Integer value)
      Sets the value of the timeout property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        protected java.util.List<java.io.Serializable> content
      • cacheRegion

        protected java.lang.String cacheRegion
      • cacheable

        protected java.lang.Boolean cacheable
      • comment

        protected java.lang.String comment
      • fetchSize

        protected java.lang.Integer fetchSize
      • name

        protected java.lang.String name
      • readOnly

        protected java.lang.Boolean readOnly
      • timeout

        protected java.lang.Integer timeout
      • callable

        protected java.lang.Boolean callable
      • resultsetRef

        protected java.lang.String resultsetRef
    • Constructor Detail

      • JaxbHbmNamedNativeQueryType

        public JaxbHbmNamedNativeQueryType()
    • Method Detail

      • getCacheMode

        public CacheMode getCacheMode()
        Gets the value of the cacheMode property.
        Returns:
        possible object is String
      • setCacheMode

        public void setCacheMode​(CacheMode value)
        Sets the value of the cacheMode property.
        Parameters:
        value - allowed object is String
      • getCacheRegion

        public java.lang.String getCacheRegion()
        Gets the value of the cacheRegion property.
        Returns:
        possible object is String
      • setCacheRegion

        public void setCacheRegion​(java.lang.String value)
        Sets the value of the cacheRegion property.
        Parameters:
        value - allowed object is String
      • isCacheable

        public boolean isCacheable()
        Gets the value of the cacheable property.
        Returns:
        possible object is Boolean
      • setCacheable

        public void setCacheable​(java.lang.Boolean value)
        Sets the value of the cacheable property.
        Parameters:
        value - allowed object is Boolean
      • getComment

        public java.lang.String getComment()
        Gets the value of the comment property.
        Returns:
        possible object is String
      • setComment

        public void setComment​(java.lang.String value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is String
      • getFetchSize

        public java.lang.Integer getFetchSize()
        Gets the value of the fetchSize property.
        Returns:
        possible object is Integer
      • setFetchSize

        public void setFetchSize​(java.lang.Integer value)
        Sets the value of the fetchSize property.
        Parameters:
        value - allowed object is Integer
      • getFlushMode

        public FlushMode getFlushMode()
        Gets the value of the flushMode property.
        Returns:
        possible object is String
      • setFlushMode

        public void setFlushMode​(FlushMode value)
        Sets the value of the flushMode property.
        Parameters:
        value - allowed object is String
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • isReadOnly

        public boolean isReadOnly()
        Gets the value of the readOnly property.
        Returns:
        possible object is Boolean
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean value)
        Sets the value of the readOnly property.
        Parameters:
        value - allowed object is Boolean
      • getTimeout

        public java.lang.Integer getTimeout()
        Gets the value of the timeout property.
        Returns:
        possible object is Integer
      • setTimeout

        public void setTimeout​(java.lang.Integer value)
        Sets the value of the timeout property.
        Parameters:
        value - allowed object is Integer
      • isCallable

        public boolean isCallable()
        Gets the value of the callable property.
        Returns:
        possible object is Boolean
      • setCallable

        public void setCallable​(java.lang.Boolean value)
        Sets the value of the callable property.
        Parameters:
        value - allowed object is Boolean
      • getResultsetRef

        public java.lang.String getResultsetRef()
        Gets the value of the resultsetRef property.
        Returns:
        possible object is String
      • setResultsetRef

        public void setResultsetRef​(java.lang.String value)
        Sets the value of the resultsetRef property.
        Parameters:
        value - allowed object is String