org.hibernate.mapping

Class List

Implemented Interfaces:
Fetchable, Serializable, Filterable, Value
Known Direct Subclasses:
Array

public class List
extends IndexedCollection

A list mapping has a primary key consisting of the key columns + index column.
Author:
Gavin King

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

List(PersistentClass owner)

Method Summary

Object
accept(ValueVisitor visitor)
int
getBaseIndex()
CollectionType
getDefaultCollectionType()
boolean
isList()
void
setBaseIndex(int baseIndex)

Methods inherited from class org.hibernate.mapping.IndexedCollection

getIndex, getIndexNodeName, isIndexed, isList, setIndex, setIndexNodeName, 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, getDefaultCollectionType, getElement, getElementNodeName, getFetchMode, getFilterMap, getKey, getLoaderName, getManyToManyFilterMap, getManyToManyOrdering, getManyToManyWhere, getNodeName, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getSynchronizedTables, getTable, getType, getTypeName, getTypeParameters, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isEmbedded, isExtraLazy, isIdentified, isIndexed, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSet, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setElementNodeName, setEmbedded, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMutable, setNodeName, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeParameters, setTypeUsingReflection, setWhere, toString, validate

Constructor Details

List

public List(PersistentClass owner)

Method Details

accept

public Object accept(ValueVisitor visitor)
Specified by:
accept in interface Value

getBaseIndex

public int getBaseIndex()

getDefaultCollectionType

public CollectionType getDefaultCollectionType()
            throws MappingException
Overrides:
getDefaultCollectionType in interface Collection

isList

public boolean isList()
Overrides:
isList in interface IndexedCollection

setBaseIndex

public void setBaseIndex(int baseIndex)