Class MockEntityPersister
java.lang.Object
org.hibernate.processor.validation.MockEntityPersister
- All Implemented Interfaces:
org.hibernate.loader.ast.spi.Loadable, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.Discriminable, org.hibernate.metamodel.mapping.EntityMappingType, org.hibernate.metamodel.mapping.EntityValuedModelPart, org.hibernate.metamodel.mapping.FilterRestrictable, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.metamodel.mapping.ManagedMappingType, org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.metamodel.mapping.MappingType, org.hibernate.metamodel.mapping.ModelPart, org.hibernate.metamodel.mapping.ModelPartContainer, org.hibernate.metamodel.mapping.Restrictable, org.hibernate.metamodel.mapping.SoftDeletableModelPart, org.hibernate.metamodel.mapping.WhereRestrictable, org.hibernate.persister.entity.EntityPersister, org.hibernate.persister.entity.Joinable, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.persister.walking.spi.AttributeSource, org.hibernate.sql.ast.tree.from.RootTableGroupProducer, org.hibernate.sql.ast.tree.from.TableGroupProducer, org.hibernate.sql.model.MutationTarget<org.hibernate.persister.entity.mutation.EntityTableMapping>, org.hibernate.sql.results.graph.FetchableContainer
- Direct Known Subclasses:
ProcessorSessionFactory.EntityPersister
public abstract class MockEntityPersister
extends Object
implements org.hibernate.persister.entity.EntityPersister, org.hibernate.persister.entity.Joinable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
org.hibernate.metamodel.mapping.Bindable.JdbcValuesBiConsumer<X,Y>, org.hibernate.metamodel.mapping.Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.EntityMappingType
org.hibernate.metamodel.mapping.EntityMappingType.ConstraintOrderedTableConsumerNested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
org.hibernate.metamodel.mapping.ModelPart.JdbcValueBiConsumer<X,Y>, org.hibernate.metamodel.mapping.ModelPart.JdbcValueConsumer -
Constructor Summary
ConstructorsConstructorDescriptionMockEntityPersister(String entityName, AccessType defaultAccessType, MockSessionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.metamodel.mapping.DiscriminatorType<?> org.hibernate.type.BasicType<String> org.hibernate.tuple.entity.EntityMetamodelorg.hibernate.persister.entity.EntityPersisterorg.hibernate.engine.spi.SessionFactoryImplementorString[]Override on subclasses!org.hibernate.type.TypeOverride on subclasses!String[]final org.hibernate.type.TypegetPropertyType(String propertyPath) abstract Stringintorg.hibernate.type.BasicType<?> Override on subclasses!protected abstract Stringprotected abstract org.hibernate.type.TypebooleanbooleanisSubclassEntityName(String name) booleanString[]toString()protected abstract org.hibernate.type.BasicType<?> Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.persister.walking.spi.AttributeSource
getPropertyIndexMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.EntityMappingType
applyBaseRestrictions, applyDiscriminator, applyFilterRestrictions, applyWhereRestrictions, asEntityMappingType, createPrimaryTableReference, createRootGraph, createRootTableGroup, createTableReferenceJoin, extractConcreteTypeStateValues, findContainingEntityMapping, findDeclaredAttributeMapping, findSubPart, findSubTypesSubPart, forEachAttributeMapping, forEachTableDetails, getAttributeMappings, getAuditMapping, getAuxiliaryMapping, getContributor, getDeclaredAttributeMappings, getDiscriminatorMapping, getDiscriminatorSQLValue, getDiscriminatorValue, getFetchable, getIdentifierMapping, getIdentifierMappingForJoin, getIdentifierTableDetails, getJavaType, getJdbcTypeCount, getMappedJavaType, getMappedTableDetails, getNaturalIdMapping, getNumberOfAttributeMappings, getNumberOfDeclaredAttributeMappings, getNumberOfFetchables, getPartMappingType, getPartName, getRootEntityDescriptor, getRootPathName, getRowIdMapping, getSoftDeleteMapping, getSoftDeleteTableDetails, getSubclassId, getSubMappingTypes, getSuperMappingType, getTemporalMapping, getVersionMapping, hasSubclasses, hasWhereRestrictions, isAbstract, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEntityGraph, isConcreteProxy, isExplicitPolymorphism, isTypeOrSuperType, isTypeOrSuperType, optimisticLockStyle, pruneForSubclasses, requireNaturalIdMapping, resolveConcreteProxyTypeForId, visitAttributeMappings, visitConstraintOrderedTables, visitDeclaredAttributeMappings, visitSubTypeAttributeMappings, visitSuperTypeAttributeMappingsMethods inherited from interface org.hibernate.persister.entity.mutation.EntityMutationTarget
addAuxiliaryToInsertGroup, addDiscriminatorToInsertGroup, getAttributeMutationTableName, getIdentifierDescriptor, getIdentifierTableMapping, getIdentityInsertDelegate, getInsertDelegate, getMutationDelegate, getTableMappings, getTargetPart, getUpdateDelegate, physicalTableNameForMutationMethods inherited from interface org.hibernate.persister.entity.EntityPersister
addToCacheKey, afterInitialize, afterReassociate, breakDownJdbcValues, buildCacheEntry, canExtractIdOutOfEntity, canReadFromCache, canUseReferenceCacheEntries, canWriteToCache, countSubclassProperties, createProxy, delete, excludedFromTemporalVersioning, findDirty, findModified, forceVersionIncrement, forceVersionIncrement, getAttributeMapping, getBatchSize, getBytecodeEnhancementMetadata, getCacheAccessStrategy, getCacheEntryStructure, getConcreteProxyClass, getConstraintOrderedTableKeyColumnClosure, getCurrentVersion, getDatabaseSnapshot, getDeleteCoordinator, getDiscriminatorAlias, getDiscriminatorColumnName, getEntityEntryFactory, getEntityMappingType, getFilterAliasGenerator, getFilterAliasGenerator, getGeneratedProperties, getGenerator, getGenerators, getIdByUniqueKey, getIdentifier, getIdentifier, getIdentifier, getIdentifierAliases, getIdentifierGenerator, getIdentitySelectString, getImportedName, getInsertCoordinator, getInsertGeneratedProperties, getInstrumentationMetadata, getJpaEntityName, getKeyColumns, getMappedClass, getMergeCoordinator, getMultiNaturalIdLoader, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getNaturalIdLoader, getNonLazyPropertyUpdateability, getPropertyAliases, getPropertyCascadeStyles, getPropertyCheckability, getPropertyColumnNames, getPropertyInsertability, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertyOnDeleteActions, getPropertySpan, getPropertyTypes, getPropertyUpdateability, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getRepresentationStrategy, getRootTableIdentifierColumnNames, getRootTableKeyColumnNames, getRootTableName, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSelectByUniqueKeyString, getSqlAliasStem, getSqmMultiTableInsertStrategy, getSqmMultiTableMutationStrategy, getSubclassEntityPersister, getSubclassPropertyColumnAliases, getSubclassPropertyColumnNames, getSubclassTableName, getSubclassTableSpan, getSynchronizationSpaces, getSynchronizedQuerySpaces, getTableName, getTableNameForColumn, getTableNames, getTableSpan, getTypeDiscriminatorMetadata, getUpdateCoordinator, getUpdateGeneratedProperties, getValue, getValues, getVersion, getVersionColumnName, getVersionGenerator, getVersionJavaType, hasCache, hasCascadeDelete, hasCascadePersist, hasCascades, hasCollectionNotReferencingPK, hasCollections, hasDuplicateTables, hasFilterForLoadByKey, hasIdentifierProperty, hasImmutableNaturalId, hasInsertGeneratedProperties, hasLazyProperties, hasMultipleTables, hasMutableProperties, hasNaturalIdCache, hasNaturalIdentifier, hasOwnedCollections, hasPreInsertGeneratedProperties, hasPreUpdateGeneratedProperties, hasProxy, hasRowId, hasSubselectLoadableCollections, hasToOnes, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, initializeEnhancedEntityUsedAsProxy, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isDynamicInsert, isDynamicUpdate, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isInverseTable, isLazy, isLazyPropertiesCacheable, isNaturalIdentifierInsertGenerated, isNullableTable, isPolymorphic, isPropertyAuditedExcluded, isPropertyTemporalExcluded, isSelectBeforeUpdateRequired, isSharedColumn, isTransient, isVersionPropertyGenerated, load, load, load, loadByUniqueKey, loadEntityIdByNaturalId, lock, lock, lock, lock, managesColumns, merge, multiLoad, multiLoad, postInstantiate, prepareLoaders, processInsertGeneratedProperties, processInsertGeneratedProperties, processUpdateGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, resolveDirtyAttributeIndexes, selectFragment, setIdentifier, setPropertyValue, setPropertyValues, setValue, setValues, storeDiscriminatorInShallowQueryCacheLayout, uniqueKeyEntries, update, useShallowQueryCacheLayout, visitQuerySpacesMethods inherited from interface org.hibernate.metamodel.mapping.EntityValuedModelPart
applySqlSelections, applySqlSelections, createDomainResult, disassemble, findSubPart, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachSubPart, visitSubPartsMethods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getKeyFetchable, getNumberOfFetchableKeys, getNumberOfKeyFetchables, getSelectableIndex, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchablesMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictionsMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getJdbcMapping, getSingleJdbcMappingMethods inherited from interface org.hibernate.loader.ast.spi.Loadable
isAffectedByBatchSize, isAffectedByEnabledFilters, isAffectedByInfluencers, isAffectedByInfluencers, isNotAffectedByInfluencersMethods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType
anyRequiresAggregateColumnWriter, findAttributeMapping, forEachAttributeMapping, hasPartitionedSelectionMapping, isAffectedByEnabledFiltersMethods inherited from interface org.hibernate.metamodel.mapping.ModelPart
areEqual, asAttributeMapping, asBasicValuedModelPart, breakDownJdbcValues, decompose, decompose, forEachSelectable, forEachSelectable, getNavigableRole, isEntityIdentifierMapping, isVirtualMethods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer
findByPath, findByPath, forEachSubPartMethods inherited from interface org.hibernate.sql.model.MutationTarget
forEachMutableTable, forEachMutableTableReverse, getIdentifierTableName, getNavigableRole, getRolePathMethods inherited from interface org.hibernate.metamodel.mapping.Restrictable
applyBaseRestrictionsMethods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupProducer
containsTableReference
-
Constructor Details
-
MockEntityPersister
public MockEntityPersister(String entityName, AccessType defaultAccessType, MockSessionFactory factory)
-
-
Method Details
-
isSubclassEntityName
- Specified by:
isSubclassEntityNamein interfaceorg.hibernate.persister.entity.EntityPersister
-
getFactory
public org.hibernate.engine.spi.SessionFactoryImplementor getFactory()- Specified by:
getFactoryin interfaceorg.hibernate.persister.entity.EntityPersister
-
getEntityMetamodel
public org.hibernate.tuple.entity.EntityMetamodel getEntityMetamodel()- Specified by:
getEntityMetamodelin interfaceorg.hibernate.persister.entity.EntityPersister
-
getEntityName
- Specified by:
getEntityNamein interfaceorg.hibernate.metamodel.mapping.EntityMappingType- Specified by:
getEntityNamein interfaceorg.hibernate.persister.entity.EntityPersister
-
getPropertyType
- Specified by:
getPropertyTypein interfaceorg.hibernate.persister.entity.EntityPersister
-
getIdentifierPropertyName
Override on subclasses!- Specified by:
getIdentifierPropertyNamein interfaceorg.hibernate.persister.entity.EntityPersister
-
identifierPropertyName
-
getIdentifierType
public org.hibernate.type.Type getIdentifierType()Override on subclasses!- Specified by:
getIdentifierTypein interfaceorg.hibernate.persister.entity.EntityPersister
-
identifierType
protected abstract org.hibernate.type.Type identifierType() -
getVersionType
public org.hibernate.type.BasicType<?> getVersionType()Override on subclasses!- Specified by:
getVersionTypein interfaceorg.hibernate.persister.entity.EntityPersister
-
versionType
protected abstract org.hibernate.type.BasicType<?> versionType() -
getRootEntityName
- Specified by:
getRootEntityNamein interfaceorg.hibernate.persister.entity.EntityPersister
-
getRootEntityPersister
-
getSubclassEntityNames
-
toColumns
-
getPropertySpaces
- Specified by:
getPropertySpacesin interfaceorg.hibernate.persister.entity.EntityPersister
-
getQuerySpaces
- Specified by:
getQuerySpacesin interfaceorg.hibernate.persister.entity.EntityPersister
-
getEntityPersister
public org.hibernate.persister.entity.EntityPersister getEntityPersister()- Specified by:
getEntityPersisterin interfaceorg.hibernate.metamodel.mapping.EntityMappingType
-
getIdentifierColumnNames
- Specified by:
getIdentifierColumnNamesin interfaceorg.hibernate.persister.entity.EntityPersister
-
getDiscriminatorDomainType
public org.hibernate.metamodel.mapping.DiscriminatorType<?> getDiscriminatorDomainType()- Specified by:
getDiscriminatorDomainTypein interfaceorg.hibernate.persister.entity.EntityPersister
-
getTableName
- Specified by:
getTableNamein interfaceorg.hibernate.persister.entity.EntityPersister
-
toString
-
getVersionPropertyIndex
public int getVersionPropertyIndex()- Specified by:
getVersionPropertyIndexin interfaceorg.hibernate.persister.entity.EntityPersister
-
isVersioned
public boolean isVersioned()- Specified by:
isVersionedin interfaceorg.hibernate.persister.entity.EntityPersister
-
getMappedSuperclass
- Specified by:
getMappedSuperclassin interfaceorg.hibernate.metamodel.mapping.EntityMappingType
-
getDiscriminatorType
- Specified by:
getDiscriminatorTypein interfaceorg.hibernate.persister.entity.EntityPersister
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.persister.entity.EntityPersister
-