站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Array (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.mapping
Class Array

java.lang.Object
  extended bynet.sf.hibernate.mapping.Collection
      extended bynet.sf.hibernate.mapping.IndexedCollection
          extended bynet.sf.hibernate.mapping.List
              extended bynet.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

Field Summary
 
Fields inherited from class net.sf.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
 
Fields inherited from class net.sf.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
 
Constructor Summary
Array(PersistentClass owner)
          Constructor for Array.
 
Method Summary
 PersistentCollectionType getCollectionType()
           
 Class getElementClass()
           
 boolean isArray()
           
 void setElementClass(Class elementClass)
          Sets the elementClass.
 
Methods inherited from class net.sf.hibernate.mapping.IndexedCollection
getIndex, isIndexed, setIndex, validate
 
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
 

Constructor Detail

Array

public Array(PersistentClass owner)
Constructor for Array.

Parameters:
owner -
Method Detail

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