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

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


net.sf.hibernate.mapping
Class Bag

java.lang.Object
  extended bynet.sf.hibernate.mapping.Collection
      extended bynet.sf.hibernate.mapping.Bag
All Implemented Interfaces:
Fetchable, Value

public class Bag
extends Collection

A bag permits duplicates, so it has no primary key

Author:
Gavin King

Field Summary
 
Fields inherited from class net.sf.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
 
Constructor Summary
Bag(PersistentClass owner)
           
 
Method Summary
 PersistentCollectionType getCollectionType()
           
 
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, isArray, isIdentified, isIndexed, 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, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bag

public Bag(PersistentClass owner)
Method Detail

getCollectionType

public PersistentCollectionType getCollectionType()
Specified by:
getCollectionType in class Collection