Package org.hibernate.mapping
Class List
java.lang.Object
org.hibernate.mapping.Collection
org.hibernate.mapping.IndexedCollection
org.hibernate.mapping.List
- All Implemented Interfaces:
Serializable,Fetchable,Filterable,SoftDeletable,Value
- Direct Known Subclasses:
Array
A mapping model object representing a collection of type
List.
A list mapping has a primary key consisting of the key columns + index column.- See Also:
-
Field Summary
Fields inherited from class org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAMEFields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionList(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation bindingList(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingprotected -
Method Summary
Modifier and TypeMethodDescriptionaccept(ValueVisitor visitor) copy()intbooleanisList()voidsetBaseIndex(int baseIndex) Methods inherited from class org.hibernate.mapping.IndexedCollection
getIndex, hasMapKeyProperty, isIndexed, isSame, isSame, setIndex, validateMethods 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, 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, isPartitionKey, 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
checkColumnDuplication, getConstraintColumns, getExtraCreateTableInfo, getSelectableType, getVirtualSelectables
-
Constructor Details
-
List
hbm.xml binding -
List
public List(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation binding -
List
-
-
Method Details
-
copy
-
isList
public boolean isList()- Overrides:
isListin classIndexedCollection
-
getDefaultCollectionType
- Specified by:
getDefaultCollectionTypein classCollection
-
accept
-
getBaseIndex
public int getBaseIndex() -
setBaseIndex
public void setBaseIndex(int baseIndex)
-