Package org.hibernate.mapping
Class IndexedCollection
java.lang.Object
org.hibernate.mapping.Collection
org.hibernate.mapping.IndexedCollection
- All Implemented Interfaces:
Serializable,Fetchable,Filterable,SoftDeletable,Value
Indexed collections include Lists, Maps, arrays and primitive arrays.
- See Also:
Field Summary
FieldsFields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME,DEFAULT_KEY_COLUMN_NAMEConstructor Summary
ConstructorsModifierConstructorDescriptionIndexedCollection(Supplier<ManagedBean<? extendsUserCollectionType>> customTypeBeanResolver,PersistentClass owner,MetadataBuildingContext buildingContext) IndexedCollection(MetadataBuildingContext buildingContext,PersistentClass owner) protectedIndexedCollection(IndexedCollection original) Method Summary
Modifier and TypeMethodDescriptiongetIndex()booleanfinal booleanbooleanisList()booleanisSame(Collection other) booleanisSame(IndexedCollection other) voidvoidvalidate(MappingContext mappingContext) Methods inherited from class org.hibernate.mapping.Collection
addFilter,addManyToManyFilter,addSynchronizedTable,createAllKeys,createForeignKey,createUniqueKey,enableSoftDelete,getBatchSize,getBuildingContext,getCacheConcurrencyStrategy,getCacheRegionName,getCollectionSemantics,getCollectionTable,getCollectionType,getColumnInsertability,getColumns,getColumnSpan,getColumnUpdateability,getComparator,getComparatorClassName,getCustomSQLDelete,getCustomSQLDeleteAll,getCustomSQLDeleteAllCheckStyle,getCustomSQLInsert,getCustomSQLUpdate,getDefaultCollectionType,getDeleteAllExpectation,getDeleteExpectation,getElement,getFetchMode,getFilters,getInsertExpectation,getKey,getLoaderName,getManyToManyFilters,getManyToManyOrdering,getManyToManyWhere,getMappedByProperty,getMetadata,getOrderBy,getOwner,getOwnerEntityName,getQueryCacheLayout,getReferencedPropertyName,getRole,getSelectables,getServiceRegistry,getSoftDeleteColumn,getSoftDeleteStrategy,getSynchronizedTables,getTable,getType,getTypeName,getTypeParameters,getUpdateExpectation,getWhere,hasAnyInsertableColumns,hasAnyUpdatableColumns,hasFormula,hasOrder,hasOrphanDelete,isAlternateUniqueKey,isArray,isColumnInsertable,isColumnUpdateable,isCustomDeleteAllCallable,isCustomDeleteCallable,isCustomInsertCallable,isCustomUpdateCallable,isExtraLazy,isIdentified,isInverse,isLazy,isMap,isMutable,isNullable,isOneToMany,isOptimisticLocked,isPrimitiveArray,isSame,isSame,isSet,isSimpleValue,isSorted,isSubselectLoadable,isValid,setBatchSize,setCacheConcurrencyStrategy,setCacheRegionName,setCollectionTable,setComparator,setComparatorClassName,setCustomSQLDelete,setCustomSQLDeleteAll,setCustomSQLInsert,setCustomSQLUpdate,setDeleteAllExpectation,setDeleteExpectation,setElement,setExtraLazy,setFetchMode,setInsertExpectation,setInverse,setKey,setLazy,setLoaderName,setManyToManyOrdering,setManyToManyWhere,setMappedByProperty,setMutable,setOptimisticLocked,setOrderBy,setOrphanDelete,setQueryCacheLayout,setReferencedPropertyName,setRole,setSorted,setSubselectLoadable,setTypeName,setTypeParameters,setTypeParameters,setTypeUsingReflection,setUpdateExpectation,setWhere,toStringMethods inherited from class java.lang.Object
clone,equals,finalize,getClass,hashCode,notify,notifyAll,wait,wait,waitMethods inherited from interface org.hibernate.mapping.Value
accept,checkColumnDuplication,copy,getConstraintColumns,getExtraCreateTableInfo,getSelectableType,getVirtualSelectables
Field Details
DEFAULT_INDEX_COLUMN_NAME
- See Also:
Constructor Details
IndexedCollection
IndexedCollection
public IndexedCollection(Supplier<ManagedBean<? extendsUserCollectionType>> customTypeBeanResolver,PersistentClass owner,MetadataBuildingContext buildingContext) IndexedCollection
Method Details
getIndex
setIndex
isIndexed
public final boolean isIndexed()- Overrides:
isIndexedin classCollection
hasMapKeyProperty
public boolean hasMapKeyProperty()isSame
- Overrides:
isSamein classCollection
isSame
validate
- Overrides:
validatein classCollection- Throws:
MappingException
isList
public boolean isList()