Class EntityMetamodel

    • Method Detail

      • isNaturalIdentifierInsertGenerated

        public boolean isNaturalIdentifierInsertGenerated()
      • isVersionGenerated

        public boolean isVersionGenerated()
      • getNaturalIdentifierProperties

        public int[] getNaturalIdentifierProperties()
      • hasNaturalIdentifier

        public boolean hasNaturalIdentifier()
      • isNaturalIdentifierCached

        public boolean isNaturalIdentifierCached()
      • hasImmutableNaturalId

        public boolean hasImmutableNaturalId()
      • getSubclassEntityNames

        public Set getSubclassEntityNames()
      • getName

        public String getName()
      • getRootName

        public String getRootName()
      • getEntityType

        public EntityType getEntityType()
      • getPropertySpan

        public int getPropertySpan()
      • getVersionPropertyIndex

        public int getVersionPropertyIndex()
      • getPropertyIndex

        public int getPropertyIndex​(String propertyName)
      • getPropertyIndexOrNull

        public Integer getPropertyIndexOrNull​(String propertyName)
      • hasCollections

        public boolean hasCollections()
      • hasMutableProperties

        public boolean hasMutableProperties()
      • hasNonIdentifierPropertyNamedId

        public boolean hasNonIdentifierPropertyNamedId()
      • hasLazyProperties

        public boolean hasLazyProperties()
      • hasCascades

        public boolean hasCascades()
      • isMutable

        public boolean isMutable()
      • isSelectBeforeUpdate

        public boolean isSelectBeforeUpdate()
      • isDynamicUpdate

        public boolean isDynamicUpdate()
      • isDynamicInsert

        public boolean isDynamicInsert()
      • isPolymorphic

        public boolean isPolymorphic()
      • getSuperclass

        public String getSuperclass()
      • isExplicitPolymorphism

        public boolean isExplicitPolymorphism()
      • isInherited

        public boolean isInherited()
      • hasSubclasses

        public boolean hasSubclasses()
      • isLazy

        public boolean isLazy()
      • setLazy

        public void setLazy​(boolean lazy)
      • isVersioned

        public boolean isVersioned()
      • isAbstract

        public boolean isAbstract()
      • findEntityNameByEntityClass

        public String findEntityNameByEntityClass​(Class inheritenceClass)
        Return the entity-name mapped to the given class within our inheritance hierarchy, if any.
        Parameters:
        inheritenceClass - The class for which to resolve the entity-name.
        Returns:
        The mapped entity-name, or null if no such mapping was found.
      • getPropertyNames

        public String[] getPropertyNames()
      • getPropertyTypes

        public Type[] getPropertyTypes()
      • getPropertyLaziness

        public boolean[] getPropertyLaziness()
      • getPropertyUpdateability

        public boolean[] getPropertyUpdateability()
      • getPropertyCheckability

        public boolean[] getPropertyCheckability()
      • getNonlazyPropertyUpdateability

        public boolean[] getNonlazyPropertyUpdateability()
      • getPropertyInsertability

        public boolean[] getPropertyInsertability()
      • getPropertyNullability

        public boolean[] getPropertyNullability()
      • getPropertyVersionability

        public boolean[] getPropertyVersionability()
      • getCascadeStyles

        public CascadeStyle[] getCascadeStyles()
      • hasPreInsertGeneratedValues

        public boolean hasPreInsertGeneratedValues()
      • hasPreUpdateGeneratedValues

        public boolean hasPreUpdateGeneratedValues()
      • hasInsertGeneratedValues

        public boolean hasInsertGeneratedValues()
      • hasUpdateGeneratedValues

        public boolean hasUpdateGeneratedValues()
      • getEntityMode

        public EntityMode getEntityMode()
      • isInstrumented

        public boolean isInstrumented()
        Whether or not this class can be lazy (ie intercepted)