当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Array (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class Array
java.lang.Object
net.sf.hibernate.mapping.Collection
net.sf.hibernate.mapping.IndexedCollection
net.sf.hibernate.mapping.List
net.sf.hibernate.mapping.Array
- All Implemented Interfaces:
- Fetchable, Value
- Direct Known Subclasses:
- PrimitiveArray
- public class Array
- extends List
An array mapping has a primary key consisting of
the key columns + index column.
- Author:
- Gavin King
Methods inherited from class net.sf.hibernate.mapping.Collection |
createAllKeys, createForeignKey, getBatchSize, getCache, getCollectionPersisterClass, getCollectionTable, getColumnIterator, getColumnSpan, getComparator, getElement, getFormula, getKey, getOrderBy, getOuterJoinFetchSetting, getOwner, getOwnerClass, getRole, getTable, getType, getWhere, hasOrphanDelete, 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 |
Array
public Array(PersistentClass owner)
- Constructor for Array.
- Parameters:
owner
-
getElementClass
public Class getElementClass()
getCollectionType
public PersistentCollectionType getCollectionType()
- Overrides:
getCollectionType
in class List
isArray
public boolean isArray()
- Overrides:
isArray
in class Collection
setElementClass
public void setElementClass(Class elementClass)
- Sets the elementClass.
- Parameters:
elementClass
- The elementClass to set