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 NavigableRolegetNavigableRole()TheNavigableRoleof the thing to be cachedComparatorgetOwnerVersionComparator()The comparator to be used with the owning entity's version (if it has one).booleanisMutable()Is the data marked as being mutable?booleanisVersioned()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:DomainDataCachingConfigIs the data marked as being mutable?- Specified by:
isMutablein interfaceDomainDataCachingConfig
-
isVersioned
public boolean isVersioned()
Description copied from interface:DomainDataCachingConfigIs the data to be cached considered versioned?- Specified by:
isVersionedin interfaceDomainDataCachingConfig
-
getOwnerVersionComparator
public Comparator getOwnerVersionComparator()
Description copied from interface:CollectionDataCachingConfigThe comparator to be used with the owning entity's version (if it has one).- Specified by:
getOwnerVersionComparatorin interfaceCollectionDataCachingConfig
-
getNavigableRole
public NavigableRole getNavigableRole()
Description copied from interface:DomainDataCachingConfigTheNavigableRoleof the thing to be cached- Specified by:
getNavigableRolein interfaceDomainDataCachingConfig
-
-