Package org.hibernate.boot.model
Class Caching
- java.lang.Object
-
- org.hibernate.boot.model.Caching
-
public class Caching extends Object
Models the caching options for an entity, natural-id or collection.
-
-
Constructor Summary
Constructors Constructor Description Caching(String region, AccessType accessType, boolean cacheLazyProperties)Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)Caching(TruthValue requested)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccessType()StringgetRegion()TruthValuegetRequested()booleanisCacheLazyProperties()voidoverlay(CacheRegionDefinition overrides)voidoverlay(Caching overrides)voidsetAccessType(AccessType accessType)voidsetCacheLazyProperties(boolean cacheLazyProperties)voidsetRegion(String region)voidsetRequested(TruthValue requested)StringtoString()
-
-
-
Constructor Detail
-
Caching
public Caching(TruthValue requested)
-
Caching
public Caching(String region, AccessType accessType, boolean cacheLazyProperties)
-
Caching
public Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)
-
-
Method Detail
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
-
getAccessType
public AccessType getAccessType()
-
setAccessType
public void setAccessType(AccessType accessType)
-
isCacheLazyProperties
public boolean isCacheLazyProperties()
-
setCacheLazyProperties
public void setCacheLazyProperties(boolean cacheLazyProperties)
-
getRequested
public TruthValue getRequested()
-
setRequested
public void setRequested(TruthValue requested)
-
overlay
public void overlay(CacheRegionDefinition overrides)
-
overlay
public void overlay(Caching overrides)
-
-