Class CollectionBinder

    • 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​(AnnotatedJoinColumns inverseJoinColumns)
      • setPropertyHolder

        public void setPropertyHolder​(PropertyHolder propertyHolder)
      • setBatchSize

        public void setBatchSize​(BatchSize batchSize)
      • setJpaOrderBy

        public void setJpaOrderBy​(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)
      • setElementType

        public void setElementType​(org.hibernate.annotations.common.reflection.XClass collectionElementType)
      • 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()
      • bindStarToManySecondPass

        protected boolean bindStarToManySecondPass​(Map<String,​PersistentClass> persistentClasses)
        return true if it's a Fk, false if it's an association table
      • setCache

        public void setCache​(Cache cache)
      • setOneToMany

        public void setOneToMany​(boolean oneToMany)
      • setIndexColumn

        public void setIndexColumn​(IndexColumn indexColumn)
      • setMapKey

        public void setMapKey​(MapKey key)
      • adjustUserSuppliedValueCollectionOrderingFragment

        public static String adjustUserSuppliedValueCollectionOrderingFragment​(String orderByFragment)
      • setOnDeleteActionAction

        public void setOnDeleteActionAction​(OnDeleteAction onDeleteAction)
      • bindManyToManyInverseForeignKey

        public void bindManyToManyInverseForeignKey​(PersistentClass targetEntity,
                                                    AnnotatedJoinColumns joinColumns,
                                                    SimpleValue value,
                                                    boolean unique)
        Bind the inverse foreign key of a ManyToMany, that is, the columns specified by @JoinTable(inverseJoinColumns=...), which are the columns that reference the target entity of the many-to-many association. If we are in a mappedBy case, read the columns from the associated collection element in the target entity.
      • setExplicitAssociationTable

        public void setExplicitAssociationTable​(boolean isExplicitAssociationTable)
      • setElementColumns

        public void setElementColumns​(AnnotatedColumns elementColumns)
      • setEmbedded

        public void setEmbedded​(boolean annotationPresent)
      • setProperty

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

        public void setNotFoundAction​(NotFoundAction notFoundAction)
      • setMapKeyColumns

        public void setMapKeyColumns​(AnnotatedColumns mapKeyColumns)
      • setMapKeyManyToManyColumns

        public void setMapKeyManyToManyColumns​(AnnotatedJoinColumns mapJoinColumns)