Class MockCollectionPersister
java.lang.Object
org.hibernate.processor.validation.MockCollectionPersister
- All Implemented Interfaces:
org.hibernate.metamodel.mapping.FilterRestrictable,org.hibernate.metamodel.mapping.Restrictable,org.hibernate.metamodel.mapping.WhereRestrictable,org.hibernate.persister.collection.CollectionPersister,org.hibernate.persister.collection.QueryableCollection,org.hibernate.persister.entity.Joinable,org.hibernate.persister.entity.PropertyMapping
- Direct Known Subclasses:
ProcessorSessionFactory.ElementCollectionPersister,ProcessorSessionFactory.ToManyAssociationPersister
public abstract class MockCollectionPersister
extends Object
implements org.hibernate.persister.collection.QueryableCollection
-
Constructor Summary
ConstructorsConstructorDescriptionMockCollectionPersister(String role, org.hibernate.type.CollectionType collectionType, org.hibernate.type.Type elementType, MockSessionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]org.hibernate.type.CollectionTypeString[]String[]getElementColumnNames(String alias) org.hibernate.persister.entity.EntityPersisterorg.hibernate.type.Typeorg.hibernate.engine.spi.SessionFactoryImplementororg.hibernate.FetchModeorg.hibernate.type.TypeString[]String[]getIndexColumnNames(String alias) String[]org.hibernate.type.TypeString[]org.hibernate.type.TypegetName()org.hibernate.persister.entity.EntityPersistergetRole()booleanhasIndex()booleanbooleanString[]org.hibernate.type.TypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.persister.collection.CollectionPersister
applyBaseManyToManyRestrictions, deleteRows, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionSemantics, getElementByIndex, getElementClass, getElementColumnAliases, getGenerator, getIdentifierColumnAlias, getIdentifierGenerator, getIndexColumnAliases, getKeyColumnAliases, getManyToManyFilterFragment, getNavigableRole, getSize, getSortingComparator, hasCache, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, initialize, insertRows, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isPrimitiveArray, isSubselectLoadable, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate, remove, updateRows, useShallowQueryCacheLayoutMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictions, applyFilterRestrictionsMethods inherited from interface org.hibernate.persister.entity.Joinable
consumesEntityAliasMethods inherited from interface org.hibernate.persister.collection.QueryableCollection
getManyToManyOrderByString, getSQLOrderByString, hasWhere, selectFragmentMethods inherited from interface org.hibernate.metamodel.mapping.Restrictable
applyBaseRestrictions, applyBaseRestrictionsMethods inherited from interface org.hibernate.metamodel.mapping.WhereRestrictable
applyWhereRestrictions, hasWhereRestrictions
-
Constructor Details
-
MockCollectionPersister
public MockCollectionPersister(String role, org.hibernate.type.CollectionType collectionType, org.hibernate.type.Type elementType, MockSessionFactory factory)
-
-
Method Details
-
getRole
- Specified by:
getRolein interfaceorg.hibernate.persister.collection.CollectionPersister
-
getName
- Specified by:
getNamein interfaceorg.hibernate.persister.entity.Joinable
-
getCollectionType
public org.hibernate.type.CollectionType getCollectionType()- Specified by:
getCollectionTypein interfaceorg.hibernate.persister.collection.CollectionPersister
-
getOwnerEntityPersister
public org.hibernate.persister.entity.EntityPersister getOwnerEntityPersister()- Specified by:
getOwnerEntityPersisterin interfaceorg.hibernate.persister.collection.CollectionPersister
-
toType
- Specified by:
toTypein interfaceorg.hibernate.persister.entity.PropertyMapping- Throws:
org.hibernate.QueryException
-
getKeyType
public org.hibernate.type.Type getKeyType()- Specified by:
getKeyTypein interfaceorg.hibernate.persister.collection.CollectionPersister
-
getIndexType
public org.hibernate.type.Type getIndexType()- Specified by:
getIndexTypein interfaceorg.hibernate.persister.collection.CollectionPersister
-
getElementType
public org.hibernate.type.Type getElementType()- Specified by:
getElementTypein interfaceorg.hibernate.persister.collection.CollectionPersister
-
getIdentifierType
public org.hibernate.type.Type getIdentifierType()- Specified by:
getIdentifierTypein interfaceorg.hibernate.persister.collection.CollectionPersister
-
hasIndex
public boolean hasIndex()- Specified by:
hasIndexin interfaceorg.hibernate.persister.collection.CollectionPersister
-
getElementPersister
public org.hibernate.persister.entity.EntityPersister getElementPersister()- Specified by:
getElementPersisterin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getFactory
public org.hibernate.engine.spi.SessionFactoryImplementor getFactory()- Specified by:
getFactoryin interfaceorg.hibernate.persister.collection.CollectionPersister
-
isOneToMany
public boolean isOneToMany()- Specified by:
isOneToManyin interfaceorg.hibernate.persister.collection.CollectionPersister
-
getCollectionSpaces
- Specified by:
getCollectionSpacesin interfaceorg.hibernate.persister.collection.CollectionPersister
-
getMappedByProperty
- Specified by:
getMappedByPropertyin interfaceorg.hibernate.persister.collection.CollectionPersister
-
getIndexColumnNames
- Specified by:
getIndexColumnNamesin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getIndexColumnNames
- Specified by:
getIndexColumnNamesin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getIndexFormulas
- Specified by:
getIndexFormulasin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getElementColumnNames
- Specified by:
getElementColumnNamesin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getElementColumnNames
- Specified by:
getElementColumnNamesin interfaceorg.hibernate.persister.collection.QueryableCollection
-
getFetchMode
public org.hibernate.FetchMode getFetchMode()- Specified by:
getFetchModein interfaceorg.hibernate.persister.collection.QueryableCollection
-
getTableName
- Specified by:
getTableNamein interfaceorg.hibernate.persister.entity.Joinable
-
getKeyColumnNames
- Specified by:
getKeyColumnNamesin interfaceorg.hibernate.persister.entity.Joinable
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceorg.hibernate.persister.entity.Joinable
-
consumesCollectionAlias
public boolean consumesCollectionAlias()- Specified by:
consumesCollectionAliasin interfaceorg.hibernate.persister.entity.Joinable
-
toColumns
- Specified by:
toColumnsin interfaceorg.hibernate.persister.entity.PropertyMapping
-