Top Fields Constructors Methods
org.hibernate.cache.cfg.internal

public Class CollectionDataCachingConfigImpl

extends AbstractDomainDataCachingConfig
implements CollectionDataCachingConfig
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.cfg.spi.CollectionDataCachingConfig, org.hibernate.cache.cfg.spi.DomainDataCachingConfig
Imports
java.util.Comparator, org.hibernate.cache.cfg.spi.CollectionDataCachingConfig, org.hibernate.cache.spi.access.AccessType, org.hibernate.mapping.Collection, org.hibernate.metamodel.model.domain.NavigableRole, org.hibernate.type.VersionType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Collection

Constructor Summary

AccessConstructor and Description
public
CollectionDataCachingConfigImpl(Collection collectionDescriptor, AccessType accessType)

Method Summary

Modifier and TypeMethod and Description
public NavigableRole
public Comparator<T>
getOwnerVersionComparator()

Implements org.hibernate.cache.cfg.spi.CollectionDataCachingConfig.getOwnerVersionComparator.

The comparator to be used with the owning entity's version (if it has one).
public boolean
isMutable()

Implements org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isMutable.

Is the data marked as being mutable?
public boolean
isVersioned()

Implements org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isVersioned.

Is the data to be cached considered versioned?
Inherited from org.hibernate.cache.cfg.internal.AbstractDomainDataCachingConfig:
getAccessType

Field Detail

collectionDescriptorback to summary
private final Collection collectionDescriptor

Constructor Detail

CollectionDataCachingConfigImplback to summary
public CollectionDataCachingConfigImpl(Collection collectionDescriptor, AccessType accessType)

Method Detail

getNavigableRoleback to summary
public NavigableRole getNavigableRole()

Implements org.hibernate.cache.cfg.spi.DomainDataCachingConfig.getNavigableRole.

Doc from org.hibernate.cache.cfg.spi.DomainDataCachingConfig.getNavigableRole.

The NavigableRole of the thing to be cached

Annotations
@Override
getOwnerVersionComparatorback to summary
public Comparator<T> getOwnerVersionComparator()

Implements org.hibernate.cache.cfg.spi.CollectionDataCachingConfig.getOwnerVersionComparator.

Doc from org.hibernate.cache.cfg.spi.CollectionDataCachingConfig.getOwnerVersionComparator.

The comparator to be used with the owning entity's version (if it has one).

Annotations
@Override
isMutableback to summary
public boolean isMutable()

Implements org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isMutable.

Doc from org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isMutable.

Is the data marked as being mutable?

Annotations
@Override
isVersionedback to summary
public boolean isVersioned()

Implements org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isVersioned.

Doc from org.hibernate.cache.cfg.spi.DomainDataCachingConfig.isVersioned.

Is the data to be cached considered versioned?

Annotations
@Override