public class List extends IndexedCollection
A list mapping has a primary key consisting of the key columns + index column.
DEFAULT_INDEX_COLUMN_NAME
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
Constructor and Description |
---|
List(MetadataBuildingContext buildingContext,
PersistentClass owner) |
List(MetadataImplementor metadata,
PersistentClass owner)
Deprecated.
Use
List(MetadataBuildingContext, PersistentClass) instead. |
Modifier and Type | Method and Description |
---|---|
Object |
accept(ValueVisitor visitor) |
int |
getBaseIndex() |
CollectionType |
getDefaultCollectionType() |
boolean |
isList() |
void |
setBaseIndex(int baseIndex) |
getIndex, isIndexed, isSame, isSame, setIndex, validate
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
@Deprecated public List(MetadataImplementor metadata, PersistentClass owner)
List(MetadataBuildingContext, PersistentClass)
instead.public List(MetadataBuildingContext buildingContext, PersistentClass owner)
public boolean isList()
isList
in class IndexedCollection
public CollectionType getDefaultCollectionType() throws MappingException
getDefaultCollectionType
in class Collection
MappingException
public Object accept(ValueVisitor visitor)
public int getBaseIndex()
public void setBaseIndex(int baseIndex)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.