Package org.hibernate.mapping
Class List
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- org.hibernate.mapping.List
-
- All Implemented Interfaces:
java.io.Serializable,Fetchable,Filterable,Value
- Direct Known Subclasses:
Array
public class List extends IndexedCollection
A list mapping has a primary key consisting of the key columns + index column.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
-
Fields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
Constructor Summary
Constructors Constructor Description List(MetadataBuildingContext buildingContext, PersistentClass owner)List(MetadataImplementor metadata, PersistentClass owner)Deprecated.UseList(MetadataBuildingContext, PersistentClass)instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(ValueVisitor visitor)intgetBaseIndex()CollectionTypegetDefaultCollectionType()booleanisList()voidsetBaseIndex(int baseIndex)-
Methods inherited from class org.hibernate.mapping.IndexedCollection
getIndex, isIndexed, isSame, isSame, setIndex, validate
-
Methods inherited from class org.hibernate.mapping.Collection
addFilter, addManyToManyFilter, createAllKeys, createForeignKey, getBatchSize, getCacheConcurrencyStrategy, getCacheRegionName, getCollectionPersisterClass, getCollectionTable, getCollectionType, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getComparator, getComparatorClassName, getCustomSQLDelete, getCustomSQLDeleteAll, getCustomSQLDeleteAllCheckStyle, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getElement, getFetchMode, getFilters, getKey, getLoaderName, getManyToManyFilters, getManyToManyOrdering, getManyToManyWhere, getMappedByProperty, getMetadata, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getServiceRegistry, getSynchronizedTables, getTable, getType, getTypeName, getTypeParameters, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIdentified, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSame, isSame, isSet, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMappedByProperty, setMutable, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeParameters, setTypeParameters, setTypeUsingReflection, setWhere, toString
-
-
-
-
Constructor Detail
-
List
@Deprecated public List(MetadataImplementor metadata, PersistentClass owner)
Deprecated.UseList(MetadataBuildingContext, PersistentClass)instead.
-
List
public List(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
Method Detail
-
isList
public boolean isList()
- Overrides:
isListin classIndexedCollection
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType() throws MappingException
- Specified by:
getDefaultCollectionTypein classCollection- Throws:
MappingException
-
accept
public java.lang.Object accept(ValueVisitor visitor)
-
getBaseIndex
public int getBaseIndex()
-
setBaseIndex
public void setBaseIndex(int baseIndex)
-
-