Package org.hibernate.boot.jaxb.cfg.spi
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 Summary
Fields Modifier and Type Field Description protected Stringcollectionprotected Stringregionprotected JaxbCfgCacheUsageEnumusage
-
Constructor Summary
Constructors Constructor Description JaxbCfgCollectionCacheType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCollection()Gets the value of the collection property.StringgetRegion()Gets the value of the region property.JaxbCfgCacheUsageEnumgetUsage()Gets the value of the usage property.voidsetCollection(String value)Sets the value of the collection property.voidsetRegion(String value)Sets the value of the region property.voidsetUsage(JaxbCfgCacheUsageEnum value)Sets the value of the usage property.
-
-
-
Field Detail
-
collection
protected String collection
-
region
protected String region
-
usage
protected JaxbCfgCacheUsageEnum usage
-
-
Method Detail
-
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 isString
-
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 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
-
-