Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbCaching

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:caching
namespace:http://www.hibernate.org/xsd/orm/mapping
Imports
java.io.Serializable, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter, org.hibernate.cache.spi.access.AccessType

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>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected JaxbCacheInclusionType
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Gets the value of the access property.

public JaxbCacheInclusionType

Returns:

possible object is JaxbCacheInclusionType
getInclude
()

Gets the value of the include property.

public String

Returns:

possible object is String
getRegion
()

Gets the value of the region property.

public void
setAccess(AccessType
allowed object is String
value
)

Sets the value of the access property.

public void
setInclude(JaxbCacheInclusionType
allowed object is JaxbCacheInclusionType
value
)

Sets the value of the include property.

public void
setRegion(String
allowed object is String
value
)

Sets the value of the region property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
required:true
@XmlJavaTypeAdapter:Adapter15
includeback to summary
protected JaxbCacheInclusionType include
Annotations
@XmlAttribute
name:include
regionback to summary
protected String region
Annotations
@XmlAttribute
name:region

Constructor Detail

JaxbCachingback to summary
public JaxbCaching()

Method Detail

getAccessback to summary
public AccessType getAccess()

Gets the value of the access property.

Returns:AccessType

possible object is String

getIncludeback to summary
public JaxbCacheInclusionType getInclude()

Gets the value of the include property.

Returns:JaxbCacheInclusionType

possible object is JaxbCacheInclusionType

getRegionback to summary
public String getRegion()

Gets the value of the region property.

Returns:String

possible object is String

setAccessback to summary
public void setAccess(AccessType value)

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setIncludeback to summary
public void setInclude(JaxbCacheInclusionType value)

Sets the value of the include property.

Parameters
value:JaxbCacheInclusionType

allowed object is JaxbCacheInclusionType

setRegionback to summary
public void setRegion(String value)

Sets the value of the region property.

Parameters
value:String

allowed object is String