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

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


net.sf.hibernate.mapping
Class Set

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

public class Set
extends Collection

A set with no nullable element columns. It will have a primary key consisting of all table columns (ie. key columns + element columns).

Author:
Gavin King

Field Summary
 
Fields inherited from class net.sf.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
 
Constructor Summary
Set(PersistentClass owner)
          Constructor for Set.
 
Method Summary
 PersistentCollectionType getCollectionType()
           
 boolean isSet()
           
 
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, 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

Set

public Set(PersistentClass owner)
Constructor for Set.

Parameters:
owner -
Method Detail

isSet

public boolean isSet()
Overrides:
isSet in class Collection

getCollectionType

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