Class JaxbCfgCollectionCacheType

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

public class JaxbCfgCollectionCacheType extends Object

Java class for CollectionCacheType complex type.

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


 <complexType name="CollectionCacheType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="collection" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <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

    • JaxbCfgCollectionCacheType

      public JaxbCfgCollectionCacheType()
  • Method Details

    • getCollection

      public String getCollection()
      Gets the value of the collection property.
      Returns:
      possible object is String
    • setCollection

      public void setCollection(String value)
      Sets the value of the collection 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