Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgEntityCacheType
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEntityCacheType
-
public class JaxbCfgEntityCacheType extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.String
clazz
protected java.lang.String
include
protected java.lang.String
region
protected JaxbCfgCacheUsageEnum
usage
-
Constructor Summary
Constructors Constructor Description JaxbCfgEntityCacheType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClazz()
Gets the value of the clazz property.java.lang.String
getInclude()
Gets the value of the include property.java.lang.String
getRegion()
Gets the value of the region property.JaxbCfgCacheUsageEnum
getUsage()
Gets the value of the usage property.void
setClazz(java.lang.String value)
Sets the value of the clazz property.void
setInclude(java.lang.String value)
Sets the value of the include property.void
setRegion(java.lang.String value)
Sets the value of the region property.void
setUsage(JaxbCfgCacheUsageEnum value)
Sets the value of the usage property.
-
-
-
Field Detail
-
clazz
protected java.lang.String clazz
-
include
protected java.lang.String include
-
region
protected java.lang.String region
-
usage
protected JaxbCfgCacheUsageEnum usage
-
-
Method Detail
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
getInclude
public java.lang.String getInclude()
Gets the value of the include property.- Returns:
- possible object is
String
-
setInclude
public void setInclude(java.lang.String value)
Sets the value of the include property.- Parameters:
value
- allowed object isString
-
getRegion
public java.lang.String getRegion()
Gets the value of the region property.- Returns:
- possible object is
String
-
setRegion
public void setRegion(java.lang.String value)
Sets the value of the region property.- Parameters:
value
- allowed object isString
-
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 isJaxbCfgCacheUsageEnum
-
-