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.entity.Joinable
Direct Known Subclasses:
ProcessorSessionFactory.ElementCollectionPersister, ProcessorSessionFactory.ToManyAssociationPersister

public abstract class MockCollectionPersister extends Object implements org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.Joinable
  • Constructor Summary

    Constructors
    Constructor
    Description
    MockCollectionPersister(String role, org.hibernate.type.CollectionType collectionType, org.hibernate.type.Type elementType, MockSessionFactory factory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.hibernate.type.CollectionType
     
    org.hibernate.persister.entity.EntityPersister
     
    org.hibernate.type.Type
     
    org.hibernate.engine.spi.SessionFactoryImplementor
     
    org.hibernate.type.Type
     
    org.hibernate.type.Type
     
    org.hibernate.type.Type
     
     
    org.hibernate.persister.entity.EntityPersister
     
     
     
    boolean
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.persister.collection.CollectionPersister

    applyBaseManyToManyRestrictions, deleteRows, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionPropertyColumnAliases, getCollectionSemantics, getElementByIndex, getElementClass, getElementColumnAliases, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIndexColumnAliases, getKeyColumnAliases, 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, selectFragment, updateRows, useShallowQueryCacheLayout

    Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable

    applyFilterRestrictions, applyFilterRestrictions

    Methods inherited from interface org.hibernate.metamodel.mapping.Restrictable

    applyBaseRestrictions, applyBaseRestrictions

    Methods 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

      public String getRole()
      Specified by:
      getRole in interface org.hibernate.persister.collection.CollectionPersister
    • getCollectionType

      public org.hibernate.type.CollectionType getCollectionType()
      Specified by:
      getCollectionType in interface org.hibernate.persister.collection.CollectionPersister
    • getOwnerEntityPersister

      public org.hibernate.persister.entity.EntityPersister getOwnerEntityPersister()
      Specified by:
      getOwnerEntityPersister in interface org.hibernate.persister.collection.CollectionPersister
    • getKeyType

      public org.hibernate.type.Type getKeyType()
      Specified by:
      getKeyType in interface org.hibernate.persister.collection.CollectionPersister
    • getIndexType

      public org.hibernate.type.Type getIndexType()
      Specified by:
      getIndexType in interface org.hibernate.persister.collection.CollectionPersister
    • getElementType

      public org.hibernate.type.Type getElementType()
      Specified by:
      getElementType in interface org.hibernate.persister.collection.CollectionPersister
    • getIdentifierType

      public org.hibernate.type.Type getIdentifierType()
      Specified by:
      getIdentifierType in interface org.hibernate.persister.collection.CollectionPersister
    • hasIndex

      public boolean hasIndex()
      Specified by:
      hasIndex in interface org.hibernate.persister.collection.CollectionPersister
    • getElementPersister

      public org.hibernate.persister.entity.EntityPersister getElementPersister()
      Specified by:
      getElementPersister in interface org.hibernate.persister.collection.CollectionPersister
    • getFactory

      public org.hibernate.engine.spi.SessionFactoryImplementor getFactory()
      Specified by:
      getFactory in interface org.hibernate.persister.collection.CollectionPersister
    • isOneToMany

      public boolean isOneToMany()
      Specified by:
      isOneToMany in interface org.hibernate.persister.collection.CollectionPersister
    • getCollectionSpaces

      public String[] getCollectionSpaces()
      Specified by:
      getCollectionSpaces in interface org.hibernate.persister.collection.CollectionPersister
    • getMappedByProperty

      public String getMappedByProperty()
      Specified by:
      getMappedByProperty in interface org.hibernate.persister.collection.CollectionPersister
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface org.hibernate.persister.collection.CollectionPersister