Class EntityMetamodel

    • Field Detail

      • 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:
        Constant Field Values
    • Method Detail

      • 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

        public boolean isExplicitPolymorphism()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • 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.
      • findEntityNameByEntityClass

        public String findEntityNameByEntityClass​(Class<?> inheritanceClass)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Return the entity-name mapped to the given class within our inheritance hierarchy, if any.
        Parameters:
        inheritanceClass - The class for which to resolve the entity-name.
        Returns:
        The mapped entity-name, or null if no such mapping was found.
      • 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.