Package org.hibernate.boot.jaxb.mapping
Class JaxbCaching
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbCaching
- All Implemented Interfaces:
Serializable
Corresponds to the org.hibernate.annotations.Cache annotation.
Used to specify Hibernate-specific extra control over the caching
of entity and collection state.
Java class for caching complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="caching">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="include" type="{http://www.hibernate.org/xsd/orm/mapping}cache-inclusion-type" default="all" />
<attribute name="region" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="access" use="required" type="{http://www.hibernate.org/xsd/orm/mapping}cache-access-type" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected JaxbCacheInclusionTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the include property.Gets the value of the region property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetInclude(JaxbCacheInclusionType value) Sets the value of the include property.voidSets the value of the region property.
-
Field Details
-
include
-
region
-
access
-
-
Constructor Details
-
JaxbCaching
public JaxbCaching()
-
-
Method Details
-
getInclude
Gets the value of the include property.- Returns:
- possible object is
JaxbCacheInclusionType
-
setInclude
Sets the value of the include property.- Parameters:
value- allowed object isJaxbCacheInclusionType
-
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
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isString
-