Package org.hibernate.cache.cfg.internal
Class CollectionDataCachingConfigImpl
java.lang.Object
org.hibernate.cache.cfg.internal.AbstractDomainDataCachingConfig
org.hibernate.cache.cfg.internal.CollectionDataCachingConfigImpl
- All Implemented Interfaces:
CollectionDataCachingConfig
,DomainDataCachingConfig
public class CollectionDataCachingConfigImpl
extends AbstractDomainDataCachingConfig
implements CollectionDataCachingConfig
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionDataCachingConfigImpl
(Collection collectionDescriptor, AccessType accessType) -
Method Summary
Modifier and TypeMethodDescriptionTheNavigableRole
of the thing to be cachedThe comparator to be used with the owning entity's version (if it has one).boolean
Is the data marked as being mutable?boolean
Is the data to be cached considered versioned?Methods inherited from class org.hibernate.cache.cfg.internal.AbstractDomainDataCachingConfig
getAccessType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.cache.cfg.spi.DomainDataCachingConfig
getAccessType
-
Constructor Details
-
CollectionDataCachingConfigImpl
-
-
Method Details
-
isMutable
public boolean isMutable()Description copied from interface:DomainDataCachingConfig
Is the data marked as being mutable?- Specified by:
isMutable
in interfaceDomainDataCachingConfig
-
isVersioned
public boolean isVersioned()Description copied from interface:DomainDataCachingConfig
Is the data to be cached considered versioned?- Specified by:
isVersioned
in interfaceDomainDataCachingConfig
-
getOwnerVersionComparator
Description copied from interface:CollectionDataCachingConfig
The comparator to be used with the owning entity's version (if it has one).- Specified by:
getOwnerVersionComparator
in interfaceCollectionDataCachingConfig
-