当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
Set (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.mapping
Class Set
java.lang.Object
org.hibernate.mapping.Collection
org.hibernate.mapping.Set
- All Implemented Interfaces:
- Fetchable, Filterable, Serializable, 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
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.mapping.Collection |
addFilter, addManyToManyFilter, createAllKeys, createForeignKey, getBatchSize, getCacheConcurrencyStrategy, getCacheRegionName, getCollectionPersisterClass, getCollectionTable, getCollectionType, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getComparator, getComparatorClassName, getCustomSQLDelete, getCustomSQLDeleteAll, getCustomSQLDeleteAllCheckStyle, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getElement, getElementNodeName, getFetchMode, getFilterMap, getKey, getLoaderName, getManyToManyFilterMap, getManyToManyOrdering, getManyToManyWhere, getNodeName, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getSynchronizedTables, getTable, getType, getTypeName, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isEmbedded, isExtraLazy, isIdentified, isIndexed, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setElementNodeName, setEmbedded, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMutable, setNodeName, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeUsingReflection, setWhere, toString |
Set
public Set(PersistentClass owner)
- Constructor for Set.
- Parameters:
owner
-
validate
public void validate(Mapping mapping)
throws MappingException
- Overrides:
validate
in class Collection
- Throws:
MappingException
isSet
public boolean isSet()
- Overrides:
isSet
in class Collection
getDefaultCollectionType
public CollectionType getDefaultCollectionType()
- Specified by:
getDefaultCollectionType
in class Collection
accept
public Object accept(ValueVisitor visitor)