类 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>
-
-
构造器概要
构造器 构造器 说明 JaxbCfgEntityCacheType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClazz()Gets the value of the clazz property.StringgetInclude()Gets the value of the include property.StringgetRegion()Gets the value of the region property.JaxbCfgCacheUsageEnumgetUsage()Gets the value of the usage property.voidsetClazz(String value)Sets the value of the clazz property.voidsetInclude(String value)Sets the value of the include property.voidsetRegion(String value)Sets the value of the region property.voidsetUsage(JaxbCfgCacheUsageEnum value)Sets the value of the usage property.
-
-
-
字段详细资料
-
clazz
protected String clazz
-
include
protected String include
-
region
protected String region
-
usage
protected JaxbCfgCacheUsageEnum usage
-
-
方法详细资料
-
getClazz
public String getClazz()
Gets the value of the clazz property.- 返回:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- 参数:
value- allowed object isString
-
getInclude
public String getInclude()
Gets the value of the include property.- 返回:
- possible object is
String
-
setInclude
public void setInclude(String value)
Sets the value of the include property.- 参数:
value- allowed object isString
-
getRegion
public String getRegion()
Gets the value of the region property.- 返回:
- possible object is
String
-
setRegion
public void setRegion(String value)
Sets the value of the region property.- 参数:
value- allowed object isString
-
getUsage
public JaxbCfgCacheUsageEnum getUsage()
Gets the value of the usage property.- 返回:
- possible object is
JaxbCfgCacheUsageEnum
-
setUsage
public void setUsage(JaxbCfgCacheUsageEnum value)
Sets the value of the usage property.- 参数:
value- allowed object isJaxbCfgCacheUsageEnum
-
-