Class CollectionPropertyHolder

    • Constructor Detail

      • CollectionPropertyHolder

        public CollectionPropertyHolder​(Collection collection,
                                        String path,
                                        org.hibernate.annotations.common.reflection.XClass clazzToProcess,
                                        org.hibernate.annotations.common.reflection.XProperty property,
                                        PropertyHolder parentPropertyHolder,
                                        MetadataBuildingContext context)
    • Method Detail

      • getCollectionBinding

        public Collection getCollectionBinding()
      • startingProperty

        public void startingProperty​(org.hibernate.annotations.common.reflection.XProperty property)
        Description copied from interface: PropertyHolder
        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
      • getClassName

        public String getClassName()
      • getEntityOwnerClassName

        public String getEntityOwnerClassName()
      • getTable

        public Table getTable()
      • addProperty

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

        public KeyValue getIdentifier()
      • isOrWithinEmbeddedId

        public boolean isOrWithinEmbeddedId()
        Description copied from interface: PropertyHolder
        Return true if this component is or is embedded in a @EmbeddedId
      • isWithinElementCollection

        public boolean isWithinElementCollection()
        Description copied from interface: PropertyHolder
        Return true if this component is within an @ElementCollection.
      • isComponent

        public boolean isComponent()
      • isEntity

        public boolean isEntity()
      • getEntityName

        public String getEntityName()
      • addProperty

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

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

        public void prepare​(org.hibernate.annotations.common.reflection.XProperty collectionProperty)
      • resolveElementAttributeConverterDescriptor

        public ConverterDescriptor resolveElementAttributeConverterDescriptor​(org.hibernate.annotations.common.reflection.XProperty collectionXProperty,
                                                                              org.hibernate.annotations.common.reflection.XClass elementXClass)
      • mapKeyAttributeConverterDescriptor

        public ConverterDescriptor mapKeyAttributeConverterDescriptor​(org.hibernate.annotations.common.reflection.XProperty mapXProperty,
                                                                      org.hibernate.annotations.common.reflection.XClass keyXClass)