Top Description Fields Constructors Methods
org.hibernate.boot.model

public Class Caching

extends Object
Class Inheritance
Imports
org.hibernate.boot.CacheRegionDefinition, org.hibernate.cache.spi.access.AccessType, org.hibernate.internal.util.StringHelper

Models the caching options for an entity, natural-id or collection.
Authors
Steve Ebersole, Hardy Ferentschik

Field Summary

Modifier and TypeField and Description
private AccessType
private boolean
private String
private TruthValue

Constructor Summary

AccessConstructor and Description
public
Caching(TruthValue requested)

public
Caching(String region, AccessType accessType, boolean cacheLazyProperties)

public
Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)

Method Summary

Modifier and TypeMethod and Description
public AccessType
public String
public TruthValue
public boolean
public void
public void
overlay(Caching overrides)

public void
public void
setCacheLazyProperties(boolean cacheLazyProperties)

public void
setRegion(String region)

public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

accessTypeback to summary
private AccessType accessType
cacheLazyPropertiesback to summary
private boolean cacheLazyProperties
regionback to summary
private String region
requestedback to summary
private TruthValue requested

Constructor Detail

Cachingback to summary
public Caching(TruthValue requested)
Cachingback to summary
public Caching(String region, AccessType accessType, boolean cacheLazyProperties)
Cachingback to summary
public Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)

Method Detail

getAccessTypeback to summary
public AccessType getAccessType()
getRegionback to summary
public String getRegion()
getRequestedback to summary
public TruthValue getRequested()
isCacheLazyPropertiesback to summary
public boolean isCacheLazyProperties()
overlayback to summary
public void overlay(CacheRegionDefinition overrides)
overlayback to summary
public void overlay(Caching overrides)
setAccessTypeback to summary
public void setAccessType(AccessType accessType)
setCacheLazyPropertiesback to summary
public void setCacheLazyProperties(boolean cacheLazyProperties)
setRegionback to summary
public void setRegion(String region)
setRequestedback to summary
public void setRequested(TruthValue requested)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override