Class InheritanceState

java.lang.Object
org.hibernate.boot.model.internal.InheritanceState

public class InheritanceState extends Object
Some extra data to the inheritance position of a class.
  • Constructor Details

    • InheritanceState

      public InheritanceState(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext)
  • Method Details

    • hasTable

      public boolean hasTable()
    • hasDenormalizedTable

      public boolean hasDenormalizedTable()
    • getInheritanceStateOfSuperEntity

      public static InheritanceState getInheritanceStateOfSuperEntity(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails,InheritanceState> states)
    • getSuperclassInheritanceState

      public static InheritanceState getSuperclassInheritanceState(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails,InheritanceState> states)
    • getClassDetails

      public org.hibernate.models.spi.ClassDetails getClassDetails()
    • setClassDetails

      public void setClassDetails(org.hibernate.models.spi.ClassDetails classDetails)
    • hasSiblings

      public boolean hasSiblings()
    • setHasSiblings

      public void setHasSiblings(boolean hasSiblings)
    • hasParents

      public boolean hasParents()
    • setHasParents

      public void setHasParents(boolean hasParents)
    • getType

      public InheritanceType getType()
    • setType

      public void setType(InheritanceType type)
    • isEmbeddableSuperclass

      public boolean isEmbeddableSuperclass()
    • setEmbeddableSuperclass

      public void setEmbeddableSuperclass(boolean embeddableSuperclass)
    • postProcess

      public InheritanceState.ElementsToProcess postProcess(PersistentClass persistenceClass, EntityBinder entityBinder)
    • postProcess

      public void postProcess(Component component)
    • getClassWithIdClass

      public org.hibernate.models.spi.ClassDetails getClassWithIdClass(boolean evenIfSubclass)
    • hasIdClassOrEmbeddedId

      public Boolean hasIdClassOrEmbeddedId()