Interface PropertyHolder

    • Method Detail

      • getClassName

        String getClassName()
      • getEntityOwnerClassName

        String getEntityOwnerClassName()
      • getTable

        Table getTable()
      • addProperty

        void addProperty​(Property prop,
                         org.hibernate.annotations.common.reflection.XClass declaringClass)
      • addProperty

        void addProperty​(Property prop,
                         Ejb3Column[] columns,
                         org.hibernate.annotations.common.reflection.XClass declaringClass)
      • getIdentifier

        KeyValue getIdentifier()
      • isOrWithinEmbeddedId

        boolean isOrWithinEmbeddedId()
        Return true if this component is or is embedded in a @EmbeddedId
      • isWithinElementCollection

        boolean isWithinElementCollection()
        Return true if this component is within an @ElementCollection.
      • isComponent

        boolean isComponent()
      • isEntity

        boolean isEntity()
      • setParentProperty

        void setParentProperty​(String parentProperty)
      • getOverriddenColumn

        jakarta.persistence.Column[] getOverriddenColumn​(String propertyName)
        return null if the column is not overridden, or an array of column if true
      • getOverriddenJoinColumn

        jakarta.persistence.JoinColumn[] getOverriddenJoinColumn​(String propertyName)
        return null if the column is not overridden, or an array of column if true
      • getOverriddenForeignKey

        default jakarta.persistence.ForeignKey getOverriddenForeignKey​(String propertyName)
        return null if hte foreign key is not overridden, or the foreign key if true
      • getJoinTable

        jakarta.persistence.JoinTable getJoinTable​(org.hibernate.annotations.common.reflection.XProperty property)
        return - null if no join table is present, - the join table if not overridden, - the overridden join table otherwise
      • getEntityName

        String getEntityName()
      • addJoin

        Join addJoin​(jakarta.persistence.JoinTable joinTableAnn,
                     boolean noDelayInPkColumnCreation)
      • isInIdClass

        boolean isInIdClass()
      • setInIdClass

        void setInIdClass​(Boolean isInIdClass)
      • startingProperty

        void startingProperty​(org.hibernate.annotations.common.reflection.XProperty property)
        Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts).
        Parameters:
        property - The property
      • resolveAttributeConverterDescriptor

        ConverterDescriptor resolveAttributeConverterDescriptor​(org.hibernate.annotations.common.reflection.XProperty property)
        Determine the AttributeConverter to use for the given property.
        Parameters:
        property -
        Returns:
        The ConverterDescriptor