当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
IndexedCollection (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class IndexedCollection
java.lang.Object
net.sf.hibernate.mapping.Collection
net.sf.hibernate.mapping.IndexedCollection
- All Implemented Interfaces:
- Fetchable, Value
- Direct Known Subclasses:
- List, Map
- public abstract class IndexedCollection
- extends Collection
Indexed collections include Lists, Maps, arrays and
primitive arrays.
- Author:
- Gavin King
Methods inherited from class net.sf.hibernate.mapping.Collection |
createAllKeys, createForeignKey, getBatchSize, getCache, getCollectionPersisterClass, getCollectionTable, getCollectionType, getColumnIterator, getColumnSpan, getComparator, getElement, getFormula, getKey, getOrderBy, getOuterJoinFetchSetting, getOwner, getOwnerClass, getRole, getTable, getType, getWhere, hasOrphanDelete, isArray, isIdentified, isInverse, isLazy, isNullable, isOneToMany, isPrimitiveArray, isSet, isSimpleValue, isSorted, isUnique, isValid, setBatchSize, setCache, setCollectionPersisterClass, setCollectionTable, setComparator, setElement, setInverse, setKey, setLazy, setOrderBy, setOrphanDelete, setOuterJoinFetchSetting, setOwner, setRole, setSorted, setWhere |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_INDEX_COLUMN_NAME
public static final String DEFAULT_INDEX_COLUMN_NAME
- See Also:
- Constant Field Values
IndexedCollection
public IndexedCollection(PersistentClass owner)
- Constructor for IndexedCollection.
- Parameters:
owner
-
getIndex
public SimpleValue getIndex()
setIndex
public void setIndex(SimpleValue index)
isIndexed
public final boolean isIndexed()
- Overrides:
isIndexed
in class Collection
validate
public void validate(Mapping mapping)
throws MappingException
- Overrides:
validate
in class Collection
- Throws:
MappingException