类 IndexedCollection
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- 所有已实现的接口:
Serializable,Fetchable,Filterable,Value
public abstract class IndexedCollection extends Collection
Indexed collections include Lists, Maps, arrays and primitive arrays.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDEFAULT_INDEX_COLUMN_NAME-
从类继承的字段 org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 IndexedCollection(MetadataBuildingContext buildingContext, PersistentClass owner)IndexedCollection(MetadataImplementor metadata, PersistentClass owner)已过时。
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ValuegetIndex()booleanisIndexed()booleanisList()booleanisSame(Collection other)booleanisSame(IndexedCollection other)voidsetIndex(Value index)voidvalidate(Mapping mapping)-
从类继承的方法 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, 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
-
-
-
-
构造器详细资料
-
IndexedCollection
@Deprecated public IndexedCollection(MetadataImplementor metadata, PersistentClass owner)
已过时。
-
IndexedCollection
public IndexedCollection(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
方法详细资料
-
getIndex
public Value getIndex()
-
setIndex
public void setIndex(Value index)
-
isIndexed
public final boolean isIndexed()
- 覆盖:
isIndexed在类中Collection
-
isSame
public boolean isSame(Collection other)
- 覆盖:
isSame在类中Collection
-
isSame
public boolean isSame(IndexedCollection other)
-
validate
public void validate(Mapping mapping) throws MappingException
- 覆盖:
validate在类中Collection- 抛出:
MappingException
-
isList
public boolean isList()
-
-