Class InheritanceState


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

      • InheritanceState

        public InheritanceState​(org.hibernate.annotations.common.reflection.XClass clazz,
                                Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> inheritanceStatePerClass,
                                MetadataBuildingContext buildingContext)
    • Method Detail

      • getInheritanceStateOfSuperEntity

        public static InheritanceState getInheritanceStateOfSuperEntity​(org.hibernate.annotations.common.reflection.XClass clazz,
                                                                        Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> states)
      • getSuperclassInheritanceState

        public static InheritanceState getSuperclassInheritanceState​(org.hibernate.annotations.common.reflection.XClass clazz,
                                                                     Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> states)
      • getClazz

        public org.hibernate.annotations.common.reflection.XClass getClazz()
      • setClazz

        public void setClazz​(org.hibernate.annotations.common.reflection.XClass clazz)
      • hasSiblings

        public boolean hasSiblings()
      • setHasSiblings

        public void setHasSiblings​(boolean hasSiblings)
      • hasParents

        public boolean hasParents()
      • setHasParents

        public void setHasParents​(boolean hasParents)
      • getType

        public jakarta.persistence.InheritanceType getType()
      • setType

        public void setType​(jakarta.persistence.InheritanceType type)
      • isEmbeddableSuperclass

        public boolean isEmbeddableSuperclass()
      • setEmbeddableSuperclass

        public void setEmbeddableSuperclass​(boolean embeddableSuperclass)
      • getClassWithIdClass

        public org.hibernate.annotations.common.reflection.XClass getClassWithIdClass​(boolean evenIfSubclass)
      • hasIdClassOrEmbeddedId

        public Boolean hasIdClassOrEmbeddedId()
      • getElementsToProcess

        public org.hibernate.cfg.InheritanceState.ElementsToProcess getElementsToProcess()