Class CollectionBinder

    • Field Detail

      • propertyName

        protected String propertyName
      • cascadeDeleteEnabled

        protected boolean cascadeDeleteEnabled
      • mapKeyPropertyName

        protected String mapKeyPropertyName
      • inheritanceStatePerClass

        protected Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> inheritanceStatePerClass
    • Method Detail

      • isMap

        public boolean isMap()
      • setIsHibernateExtensionMapping

        protected void setIsHibernateExtensionMapping​(boolean hibernateExtensionMapping)
      • isHibernateExtensionMapping

        protected boolean isHibernateExtensionMapping()
      • setUpdatable

        public void setUpdatable​(boolean updatable)
      • setInheritanceStatePerClass

        public void setInheritanceStatePerClass​(Map<org.hibernate.annotations.common.reflection.XClass,​InheritanceState> inheritanceStatePerClass)
      • setInsertable

        public void setInsertable​(boolean insertable)
      • setCascadeStrategy

        public void setCascadeStrategy​(String cascadeStrategy)
      • setAccessType

        public void setAccessType​(AccessType accessType)
      • setInverseJoinColumns

        public void setInverseJoinColumns​(AnnotatedJoinColumn[] inverseJoinColumns)
      • setPropertyHolder

        public void setPropertyHolder​(PropertyHolder propertyHolder)
      • setBatchSize

        public void setBatchSize​(BatchSize batchSize)
      • setJpaOrderBy

        public void setJpaOrderBy​(jakarta.persistence.OrderBy jpaOrderBy)
      • setSqlOrderBy

        public void setSqlOrderBy​(OrderBy sqlOrderBy)
      • setNaturalSort

        public void setNaturalSort​(SortNatural naturalSort)
      • setComparatorSort

        public void setComparatorSort​(SortComparator comparatorSort)
      • getCollectionBinder

        public static CollectionBinder getCollectionBinder​(org.hibernate.annotations.common.reflection.XProperty property,
                                                           boolean isHibernateExtensionMapping,
                                                           MetadataBuildingContext buildingContext)
        collection binder factory
      • setMappedBy

        public void setMappedBy​(String mappedBy)
      • setTableBinder

        public void setTableBinder​(TableBinder tableBinder)
      • setCollectionType

        public void setCollectionType​(org.hibernate.annotations.common.reflection.XClass collectionType)
      • setTargetEntity

        public void setTargetEntity​(org.hibernate.annotations.common.reflection.XClass targetEntity)
      • getCollection

        public Collection getCollection()
      • setPropertyName

        public void setPropertyName​(String propertyName)
      • setDeclaringClass

        public void setDeclaringClass​(org.hibernate.annotations.common.reflection.XClass declaringClass)
      • bind

        public void bind()
      • setCache

        public void setCache​(Cache cacheAnn)
      • setOneToMany

        public void setOneToMany​(boolean oneToMany)
      • setIndexColumn

        public void setIndexColumn​(IndexColumn indexColumn)
      • setMapKey

        public void setMapKey​(jakarta.persistence.MapKey key)
      • adjustUserSuppliedValueCollectionOrderingFragment

        public static String adjustUserSuppliedValueCollectionOrderingFragment​(String orderByFragment)
      • setCascadeDeleteEnabled

        public void setCascadeDeleteEnabled​(boolean onDeleteCascade)
      • bindManytoManyInverseFk

        public static void bindManytoManyInverseFk​(PersistentClass referencedEntity,
                                                   AnnotatedJoinColumn[] columns,
                                                   SimpleValue value,
                                                   boolean unique,
                                                   MetadataBuildingContext buildingContext)
        bind the inverse FK of a ManyToMany. If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithm
      • setFkJoinColumns

        public void setFkJoinColumns​(AnnotatedJoinColumn[] annotatedJoinColumns)
      • setExplicitAssociationTable

        public void setExplicitAssociationTable​(boolean explicitAssocTable)
      • setElementColumns

        public void setElementColumns​(AnnotatedColumn[] elementColumns)
      • setEmbedded

        public void setEmbedded​(boolean annotationPresent)
      • setProperty

        public void setProperty​(org.hibernate.annotations.common.reflection.XProperty property)
      • setNotFoundAction

        public void setNotFoundAction​(NotFoundAction notFoundAction)
      • setIgnoreNotFound

        public void setIgnoreNotFound​(boolean ignoreNotFound)
      • setMapKeyColumns

        public void setMapKeyColumns​(AnnotatedColumn[] mapKeyColumns)
      • setMapKeyManyToManyColumns

        public void setMapKeyManyToManyColumns​(AnnotatedJoinColumn[] mapJoinColumns)