Class Collection

    • Field Detail

      • DEFAULT_ELEMENT_COLUMN_NAME

        public static final java.lang.String DEFAULT_ELEMENT_COLUMN_NAME
        See Also:
        Constant Field Values
      • DEFAULT_KEY_COLUMN_NAME

        public static final java.lang.String DEFAULT_KEY_COLUMN_NAME
        See Also:
        Constant Field Values
    • Method Detail

      • isSet

        public boolean isSet()
      • getElement

        public Value getElement()
      • isIndexed

        public boolean isIndexed()
      • getCollectionTable

        public Table getCollectionTable()
      • setCollectionTable

        public void setCollectionTable​(Table table)
      • isSorted

        public boolean isSorted()
      • getComparator

        public java.util.Comparator getComparator()
      • isLazy

        public boolean isLazy()
        Specified by:
        isLazy in interface Fetchable
      • setLazy

        public void setLazy​(boolean lazy)
        Specified by:
        setLazy in interface Fetchable
      • getRole

        public java.lang.String getRole()
      • isPrimitiveArray

        public boolean isPrimitiveArray()
      • isArray

        public boolean isArray()
      • hasFormula

        public boolean hasFormula()
        Specified by:
        hasFormula in interface Value
      • isOneToMany

        public boolean isOneToMany()
      • isInverse

        public boolean isInverse()
      • getOwnerEntityName

        public java.lang.String getOwnerEntityName()
      • getOrderBy

        public java.lang.String getOrderBy()
      • setComparator

        public void setComparator​(java.util.Comparator comparator)
      • setElement

        public void setElement​(Value element)
      • setKey

        public void setKey​(KeyValue key)
      • setOrderBy

        public void setOrderBy​(java.lang.String orderBy)
      • setRole

        public void setRole​(java.lang.String role)
      • setSorted

        public void setSorted​(boolean sorted)
      • setInverse

        public void setInverse​(boolean inverse)
      • setOwner

        @Deprecated
        public void setOwner​(PersistentClass owner)
        Deprecated.
        Inject the owner into constructor.
        Parameters:
        owner - The owner
      • getWhere

        public java.lang.String getWhere()
      • setWhere

        public void setWhere​(java.lang.String where)
      • getManyToManyWhere

        public java.lang.String getManyToManyWhere()
      • setManyToManyWhere

        public void setManyToManyWhere​(java.lang.String manyToManyWhere)
      • getManyToManyOrdering

        public java.lang.String getManyToManyOrdering()
      • setManyToManyOrdering

        public void setManyToManyOrdering​(java.lang.String orderFragment)
      • isIdentified

        public boolean isIdentified()
      • hasOrphanDelete

        public boolean hasOrphanDelete()
      • setOrphanDelete

        public void setOrphanDelete​(boolean orphanDelete)
      • getBatchSize

        public int getBatchSize()
      • setBatchSize

        public void setBatchSize​(int i)
      • setCollectionPersisterClass

        public void setCollectionPersisterClass​(java.lang.Class persister)
      • getCollectionPersisterClass

        public java.lang.Class getCollectionPersisterClass()
      • getColumnSpan

        public int getColumnSpan()
        Specified by:
        getColumnSpan in interface Value
      • isNullable

        public boolean isNullable()
        Specified by:
        isNullable in interface Value
      • isSimpleValue

        public boolean isSimpleValue()
        Specified by:
        isSimpleValue in interface Value
      • isSame

        public boolean isSame​(Value other)
        Specified by:
        isSame in interface Value
      • isSame

        protected static boolean isSame​(Value v1,
                                        Value v2)
      • isSame

        public boolean isSame​(Collection other)
      • getCacheConcurrencyStrategy

        public java.lang.String getCacheConcurrencyStrategy()
      • setCacheConcurrencyStrategy

        public void setCacheConcurrencyStrategy​(java.lang.String cacheConcurrencyStrategy)
      • setTypeUsingReflection

        public void setTypeUsingReflection​(java.lang.String className,
                                           java.lang.String propertyName)
        Specified by:
        setTypeUsingReflection in interface Value
      • getCacheRegionName

        public java.lang.String getCacheRegionName()
      • setCacheRegionName

        public void setCacheRegionName​(java.lang.String cacheRegionName)
      • setCustomSQLInsert

        public void setCustomSQLInsert​(java.lang.String customSQLInsert,
                                       boolean callable,
                                       ExecuteUpdateResultCheckStyle checkStyle)
      • getCustomSQLInsert

        public java.lang.String getCustomSQLInsert()
      • isCustomInsertCallable

        public boolean isCustomInsertCallable()
      • setCustomSQLUpdate

        public void setCustomSQLUpdate​(java.lang.String customSQLUpdate,
                                       boolean callable,
                                       ExecuteUpdateResultCheckStyle checkStyle)
      • getCustomSQLUpdate

        public java.lang.String getCustomSQLUpdate()
      • isCustomUpdateCallable

        public boolean isCustomUpdateCallable()
      • setCustomSQLDelete

        public void setCustomSQLDelete​(java.lang.String customSQLDelete,
                                       boolean callable,
                                       ExecuteUpdateResultCheckStyle checkStyle)
      • getCustomSQLDelete

        public java.lang.String getCustomSQLDelete()
      • isCustomDeleteCallable

        public boolean isCustomDeleteCallable()
      • setCustomSQLDeleteAll

        public void setCustomSQLDeleteAll​(java.lang.String customSQLDeleteAll,
                                          boolean callable,
                                          ExecuteUpdateResultCheckStyle checkStyle)
      • getCustomSQLDeleteAll

        public java.lang.String getCustomSQLDeleteAll()
      • isCustomDeleteAllCallable

        public boolean isCustomDeleteAllCallable()
      • addFilter

        public void addFilter​(java.lang.String name,
                              java.lang.String condition,
                              boolean autoAliasInjection,
                              java.util.Map<java.lang.String,​java.lang.String> aliasTableMap,
                              java.util.Map<java.lang.String,​java.lang.String> aliasEntityMap)
        Specified by:
        addFilter in interface Filterable
      • getFilters

        public java.util.List getFilters()
        Specified by:
        getFilters in interface Filterable
      • addManyToManyFilter

        public void addManyToManyFilter​(java.lang.String name,
                                        java.lang.String condition,
                                        boolean autoAliasInjection,
                                        java.util.Map<java.lang.String,​java.lang.String> aliasTableMap,
                                        java.util.Map<java.lang.String,​java.lang.String> aliasEntityMap)
      • getManyToManyFilters

        public java.util.List getManyToManyFilters()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSynchronizedTables

        public java.util.Set<java.lang.String> getSynchronizedTables()
      • getLoaderName

        public java.lang.String getLoaderName()
      • setLoaderName

        public void setLoaderName​(java.lang.String name)
      • getReferencedPropertyName

        public java.lang.String getReferencedPropertyName()
      • setReferencedPropertyName

        public void setReferencedPropertyName​(java.lang.String propertyRef)
      • isOptimisticLocked

        public boolean isOptimisticLocked()
      • setOptimisticLocked

        public void setOptimisticLocked​(boolean optimisticLocked)
      • isMap

        public boolean isMap()
      • getTypeName

        public java.lang.String getTypeName()
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
      • getTypeParameters

        public java.util.Properties getTypeParameters()
      • setTypeParameters

        public void setTypeParameters​(java.util.Properties parameterMap)
      • setTypeParameters

        public void setTypeParameters​(java.util.Map parameterMap)
      • isSubselectLoadable

        public boolean isSubselectLoadable()
      • setSubselectLoadable

        public void setSubselectLoadable​(boolean subqueryLoadable)
      • isMutable

        public boolean isMutable()
      • setMutable

        public void setMutable​(boolean mutable)
      • isExtraLazy

        public boolean isExtraLazy()
      • setExtraLazy

        public void setExtraLazy​(boolean extraLazy)
      • hasOrder

        public boolean hasOrder()
      • setComparatorClassName

        public void setComparatorClassName​(java.lang.String comparatorClassName)
      • getComparatorClassName

        public java.lang.String getComparatorClassName()
      • getMappedByProperty

        public java.lang.String getMappedByProperty()
      • setMappedByProperty

        public void setMappedByProperty​(java.lang.String mappedByProperty)