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
Constructors Constructor Description CollectionDataCachingConfigImpl(Collection collectionDescriptor, AccessType accessType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigableRole
getNavigableRole()
TheNavigableRole
of the thing to be cachedComparator
getOwnerVersionComparator()
The comparator to be used with the owning entity's version (if it has one).boolean
isMutable()
Is the data marked as being mutable?boolean
isVersioned()
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 Detail
-
CollectionDataCachingConfigImpl
public CollectionDataCachingConfigImpl(Collection collectionDescriptor, AccessType accessType)
-
-
Method Detail
-
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
public Comparator 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
-
getNavigableRole
public NavigableRole getNavigableRole()
Description copied from interface:DomainDataCachingConfig
TheNavigableRole
of the thing to be cached- Specified by:
getNavigableRole
in interfaceDomainDataCachingConfig
-
-