当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
IdentifierCollection (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class IdentifierCollection
java.lang.Object
net.sf.hibernate.mapping.Collection
net.sf.hibernate.mapping.IdentifierCollection
- All Implemented Interfaces:
- Fetchable, Value
- Direct Known Subclasses:
- IdentifierBag
- public abstract class IdentifierCollection
- extends Collection
A collection with a synthetic "identifier" column
Methods inherited from class net.sf.hibernate.mapping.Collection |
createAllKeys, createForeignKey, getBatchSize, getCache, getCollectionPersisterClass, getCollectionTable, getCollectionType, getColumnIterator, getColumnSpan, getComparator, getElement, getFormula, getKey, getOrderBy, getOuterJoinFetchSetting, getOwner, getOwnerClass, getRole, getTable, getType, getWhere, hasOrphanDelete, isArray, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_IDENTIFIER_COLUMN_NAME
public static final String DEFAULT_IDENTIFIER_COLUMN_NAME
- See Also:
- Constant Field Values
IdentifierCollection
public IdentifierCollection(PersistentClass owner)
getIdentifier
public SimpleValue getIdentifier()
setIdentifier
public void setIdentifier(SimpleValue identifier)
isIdentified
public final boolean isIdentified()
- Overrides:
isIdentified
in class Collection
validate
public void validate(Mapping mapping)
throws MappingException
- Overrides:
validate
in class Collection
- Throws:
MappingException