Class JaxbCaching

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbCaching
All Implemented Interfaces:
Serializable

public class JaxbCaching extends Object implements Serializable
Corresponds to the org.hibernate.annotations.Cache annotation. Used to specify Hibernate-specific extra control over the caching of entity and collection state.

Java class for caching complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="caching">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="include" type="{http://www.hibernate.org/xsd/orm/mapping}cache-inclusion-type" default="all" />
       <attribute name="region" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="access" use="required" type="{http://www.hibernate.org/xsd/orm/mapping}cache-access-type" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbCaching

      public JaxbCaching()
  • Method Details

    • getInclude

      public JaxbCacheInclusionType getInclude()
      Gets the value of the include property.
      Returns:
      possible object is JaxbCacheInclusionType
    • setInclude

      public void setInclude(JaxbCacheInclusionType value)
      Sets the value of the include property.
      Parameters:
      value - allowed object is JaxbCacheInclusionType
    • getRegion

      public String getRegion()
      Gets the value of the region property.
      Returns:
      possible object is String
    • setRegion

      public void setRegion(String value)
      Sets the value of the region property.
      Parameters:
      value - allowed object is String
    • getAccess

      public AccessType getAccess()
      Gets the value of the access property.
      Returns:
      possible object is String
    • setAccess

      public void setAccess(AccessType value)
      Sets the value of the access property.
      Parameters:
      value - allowed object is String