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 String
collection
protected String
region
protected JaxbCfgCacheUsageEnum
usage
-
Constructor Summary
Constructors Constructor Description JaxbCfgCollectionCacheType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollection()
Gets the value of the collection property.String
getRegion()
Gets the value of the region property.JaxbCfgCacheUsageEnum
getUsage()
Gets the value of the usage property.void
setCollection(String value)
Sets the value of the collection property.void
setRegion(String value)
Sets the value of the region property.void
setUsage(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
-
-