Class JaxbCfgEntityCacheType

java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEntityCacheType

public class JaxbCfgEntityCacheType extends Object

Java class for EntityCacheType complex type.

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


 <complexType name="EntityCacheType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="include" default="all">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="all"/>
             <enumeration value="non-lazy"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="region" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="usage" use="required" type="{http://www.hibernate.org/xsd/orm/cfg}CacheUsageEnum" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • JaxbCfgEntityCacheType

      public JaxbCfgEntityCacheType()
  • Method Details

    • getClazz

      public String getClazz()
      Gets the value of the clazz property.
      Returns:
      possible object is String
    • setClazz

      public void setClazz(String value)
      Sets the value of the clazz property.
      Parameters:
      value - allowed object is String
    • getInclude

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

      public void setInclude(String value)
      Sets the value of the include property.
      Parameters:
      value - allowed object is String
    • 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
    • getUsage

      public JaxbCfgCacheUsageEnum getUsage()
      Gets the value of the usage property.
      Returns:
      possible object is JaxbCfgCacheUsageEnum
    • setUsage

      public void setUsage(JaxbCfgCacheUsageEnum value)
      Sets the value of the usage property.
      Parameters:
      value - allowed object is JaxbCfgCacheUsageEnum