Package org.hibernate.boot.jaxb.mapping
Class JaxbCaching
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbCaching
-
- All Implemented Interfaces:
Serializable
public class JaxbCaching extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected JaxbCacheInclusionType
include
protected String
region
-
Constructor Summary
Constructors Constructor Description JaxbCaching()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.JaxbCacheInclusionType
getInclude()
Gets the value of the include property.String
getRegion()
Gets the value of the region property.void
setAccess(AccessType value)
Sets the value of the access property.void
setInclude(JaxbCacheInclusionType value)
Sets the value of the include property.void
setRegion(String value)
Sets the value of the region property.
-
-
-
Field Detail
-
include
protected JaxbCacheInclusionType include
-
region
protected String region
-
access
protected AccessType access
-
-
Method Detail
-
getInclude
public JaxbCacheInclusionType getInclude()
Gets the value of the include property.- Returns:
- possible object is
JaxbCacheInclusionType
-
setInclude
public void setInclude(JaxbCacheInclusionType value)
Sets the value of the include property.- Parameters:
value
- allowed object isJaxbCacheInclusionType
-
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
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Parameters:
value
- allowed object isString
-
-