Package org.hibernate.tuple.entity
Class EntityMetamodel
java.lang.Object
org.hibernate.tuple.entity.EntityMetamodel
- All Implemented Interfaces:
Serializable
@Deprecated(since="6",
forRemoval=true)
public class EntityMetamodel
extends Object
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Centralizes metamodel information about an entity.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionEntityMetamodel
(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.EntityMetamodel
(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext, Function<String, Generator> generatorSupplier) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable Type[]
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getName()
Deprecated, for removal: This API element is subject to removal in a future version.int[]
Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.int
getPropertyIndex
(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.getPropertyIndexOrNull
(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.String[]
Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Type[]
Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.boolean[]
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated.No longer supportedboolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Whether this class can be lazy (ie intercepted)boolean
isLazy()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setLazy
(boolean lazy) Deprecated, for removal: This API element is subject to removal in a future version.toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
NO_VERSION_INDX
public static final int NO_VERSION_INDXDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
EntityMetamodel
public EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version. -
EntityMetamodel
public EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext, Function<String, Generator> generatorSupplier) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getGenerators
Deprecated, for removal: This API element is subject to removal in a future version. -
getVersionGenerator
Deprecated, for removal: This API element is subject to removal in a future version. -
isNaturalIdentifierInsertGenerated
public boolean isNaturalIdentifierInsertGenerated()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
true
if one of the properties belonging to the natural id is generated during the execution of aninsert
statement
-
getNaturalIdentifierProperties
public int[] getNaturalIdentifierProperties()Deprecated, for removal: This API element is subject to removal in a future version. -
hasNaturalIdentifier
public boolean hasNaturalIdentifier()Deprecated, for removal: This API element is subject to removal in a future version. -
isNaturalIdentifierCached
public boolean isNaturalIdentifierCached()Deprecated, for removal: This API element is subject to removal in a future version. -
hasImmutableNaturalId
public boolean hasImmutableNaturalId()Deprecated, for removal: This API element is subject to removal in a future version. -
getSubclassEntityNames
Deprecated, for removal: This API element is subject to removal in a future version. -
getSessionFactory
Deprecated, for removal: This API element is subject to removal in a future version. -
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
getRootName
Deprecated, for removal: This API element is subject to removal in a future version. -
getSubclassId
public int getSubclassId()Deprecated, for removal: This API element is subject to removal in a future version. -
getEntityType
Deprecated, for removal: This API element is subject to removal in a future version. -
getIdentifierProperty
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertySpan
public int getPropertySpan()Deprecated, for removal: This API element is subject to removal in a future version. -
getVersionPropertyIndex
public int getVersionPropertyIndex()Deprecated, for removal: This API element is subject to removal in a future version. -
getVersionProperty
Deprecated, for removal: This API element is subject to removal in a future version. -
getProperties
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyIndex
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyIndexOrNull
Deprecated, for removal: This API element is subject to removal in a future version. -
hasCollections
public boolean hasCollections()Deprecated, for removal: This API element is subject to removal in a future version. -
hasOwnedCollections
public boolean hasOwnedCollections()Deprecated, for removal: This API element is subject to removal in a future version. -
hasMutableProperties
public boolean hasMutableProperties()Deprecated, for removal: This API element is subject to removal in a future version. -
getMutablePropertiesIndexes
Deprecated, for removal: This API element is subject to removal in a future version. -
hasNonIdentifierPropertyNamedId
public boolean hasNonIdentifierPropertyNamedId()Deprecated, for removal: This API element is subject to removal in a future version. -
hasLazyProperties
public boolean hasLazyProperties()Deprecated, for removal: This API element is subject to removal in a future version. -
hasCascades
public boolean hasCascades()Deprecated, for removal: This API element is subject to removal in a future version. -
hasCascadeDelete
public boolean hasCascadeDelete()Deprecated, for removal: This API element is subject to removal in a future version. -
isMutable
public boolean isMutable()Deprecated, for removal: This API element is subject to removal in a future version. -
isSelectBeforeUpdate
public boolean isSelectBeforeUpdate()Deprecated, for removal: This API element is subject to removal in a future version. -
isDynamicUpdate
public boolean isDynamicUpdate()Deprecated, for removal: This API element is subject to removal in a future version. -
isDynamicInsert
public boolean isDynamicInsert()Deprecated, for removal: This API element is subject to removal in a future version. -
getOptimisticLockStyle
Deprecated, for removal: This API element is subject to removal in a future version. -
isPolymorphic
public boolean isPolymorphic()Deprecated, for removal: This API element is subject to removal in a future version. -
getSuperclass
Deprecated, for removal: This API element is subject to removal in a future version. -
isExplicitPolymorphism
Deprecated.No longer supported -
isInherited
public boolean isInherited()Deprecated, for removal: This API element is subject to removal in a future version. -
hasSubclasses
public boolean hasSubclasses()Deprecated, for removal: This API element is subject to removal in a future version. -
isLazy
public boolean isLazy()Deprecated, for removal: This API element is subject to removal in a future version. -
setLazy
public void setLazy(boolean lazy) Deprecated, for removal: This API element is subject to removal in a future version. -
isVersioned
public boolean isVersioned()Deprecated, for removal: This API element is subject to removal in a future version. -
isAbstract
public boolean isAbstract()Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyNames
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyTypes
Deprecated, for removal: This API element is subject to removal in a future version. -
getDirtyCheckablePropertyTypes
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyLaziness
public boolean[] getPropertyLaziness()Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyUpdateability
public boolean[] getPropertyUpdateability()Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyCheckability
public boolean[] getPropertyCheckability()Deprecated, for removal: This API element is subject to removal in a future version. -
getNonlazyPropertyUpdateability
public boolean[] getNonlazyPropertyUpdateability()Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyInsertability
public boolean[] getPropertyInsertability()Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyNullability
public boolean[] getPropertyNullability()Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyVersionability
public boolean[] getPropertyVersionability()Deprecated, for removal: This API element is subject to removal in a future version. -
getCascadeStyles
Deprecated, for removal: This API element is subject to removal in a future version. -
hasPreInsertGeneratedValues
public boolean hasPreInsertGeneratedValues()Deprecated, for removal: This API element is subject to removal in a future version. -
hasPreUpdateGeneratedValues
public boolean hasPreUpdateGeneratedValues()Deprecated, for removal: This API element is subject to removal in a future version. -
hasInsertGeneratedValues
public boolean hasInsertGeneratedValues()Deprecated, for removal: This API element is subject to removal in a future version. -
hasUpdateGeneratedValues
public boolean hasUpdateGeneratedValues()Deprecated, for removal: This API element is subject to removal in a future version. -
isInstrumented
public boolean isInstrumented()Deprecated, for removal: This API element is subject to removal in a future version.Whether this class can be lazy (ie intercepted) -
getBytecodeEnhancementMetadata
Deprecated, for removal: This API element is subject to removal in a future version.
-
EntityMappingType
. EntityMetamodel was a first attempt at what has becomeEntityMappingType