类 List
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- org.hibernate.mapping.List
-
- 所有已实现的接口:
Serializable,Fetchable,Filterable,Value
- 直接已知子类:
Array
public class List extends IndexedCollection
A list mapping has a primary key consisting of the key columns + index column.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
-
从类继承的字段 org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 List(MetadataBuildingContext buildingContext, PersistentClass owner)List(MetadataImplementor metadata, PersistentClass owner)已过时。UseList(MetadataBuildingContext, PersistentClass)instead.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectaccept(ValueVisitor visitor)intgetBaseIndex()CollectionTypegetDefaultCollectionType()booleanisList()voidsetBaseIndex(int baseIndex)-
从类继承的方法 org.hibernate.mapping.IndexedCollection
getIndex, isIndexed, isSame, isSame, setIndex, validate
-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
List
@Deprecated public List(MetadataImplementor metadata, PersistentClass owner)
已过时。UseList(MetadataBuildingContext, PersistentClass)instead.
-
List
public List(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
方法详细资料
-
isList
public boolean isList()
- 覆盖:
isList在类中IndexedCollection
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType() throws MappingException
- 指定者:
getDefaultCollectionType在类中Collection- 抛出:
MappingException
-
accept
public Object accept(ValueVisitor visitor)
-
getBaseIndex
public int getBaseIndex()
-
setBaseIndex
public void setBaseIndex(int baseIndex)
-
-