Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgEntityCacheType
java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEntityCacheType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClazz()Gets the value of the clazz property.Gets the value of the include property.Gets the value of the region property.getUsage()Gets the value of the usage property.voidSets the value of the clazz property.voidsetInclude(String value) Sets the value of the include property.voidSets the value of the region property.voidsetUsage(JaxbCfgCacheUsageEnum value) Sets the value of the usage property.
-
Field Details
-
clazz
-
include
-
region
-
usage
-
-
Constructor Details
-
JaxbCfgEntityCacheType
public JaxbCfgEntityCacheType()
-
-
Method Details
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-
getInclude
Gets the value of the include property.- Returns:
- possible object is
String
-
setInclude
Sets the value of the include property.- Parameters:
value- allowed object isString
-
getRegion
Gets the value of the region property.- Returns:
- possible object is
String
-
setRegion
Sets the value of the region property.- Parameters:
value- allowed object isString
-
getUsage
Gets the value of the usage property.- Returns:
- possible object is
JaxbCfgCacheUsageEnum
-
setUsage
Sets the value of the usage property.- Parameters:
value- allowed object isJaxbCfgCacheUsageEnum
-