Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgCollectionCacheType
java.lang.Object
org.hibernate.boot.jaxb.cfg.spi.JaxbCfgCollectionCacheType
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected JaxbCfgCacheUsageEnum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the collection property.Gets the value of the region property.getUsage()Gets the value of the usage property.voidsetCollection(String value) Sets the value of the collection property.voidSets the value of the region property.voidsetUsage(JaxbCfgCacheUsageEnum value) Sets the value of the usage property.
-
Field Details
-
collection
-
region
-
usage
-
-
Constructor Details
-
JaxbCfgCollectionCacheType
public JaxbCfgCollectionCacheType()
-
-
Method Details
-
getCollection
Gets the value of the collection property.- Returns:
- possible object is
String
-
setCollection
Sets the value of the collection 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
-