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.
Replaced by EntityMappingType. EntityMetamodel was a first attempt at what has become EntityMappingType
Centralizes metamodel information about an entity.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityMetamodel(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 Type
    Method
    Description
    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.
     
    @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.
     
    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.
     
    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.
     
    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.
     
    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 supported
    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.
    Whether this class can be lazy (ie intercepted)
    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.
     
    void
    setLazy(boolean lazy)
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • NO_VERSION_INDX

      public static final int NO_VERSION_INDX
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

  • Method Details

    • getGenerators

      public Generator[] getGenerators()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getVersionGenerator

      public BeforeExecutionGenerator 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 an insert 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

      public Set<String> getSubclassEntityNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSessionFactory

      public SessionFactoryImplementor getSessionFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRootName

      public String 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

      public EntityType getEntityType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIdentifierProperty

      public IdentifierProperty 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

      public VersionProperty getVersionProperty()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getProperties

      public NonIdentifierAttribute[] getProperties()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPropertyIndex

      public int getPropertyIndex(String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPropertyIndexOrNull

      public Integer getPropertyIndexOrNull(String propertyName)
      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

      public BitSet 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

      public OptimisticLockStyle 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

      public String getSuperclass()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isExplicitPolymorphism

      @Deprecated public boolean 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

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • getPropertyNames

      public String[] getPropertyNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPropertyTypes

      public Type[] getPropertyTypes()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDirtyCheckablePropertyTypes

      public @Nullable Type[] 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

      public CascadeStyle[] 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

      public BytecodeEnhancementMetadata getBytecodeEnhancementMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.