当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
BagType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.type
Class BagType
java.lang.Object
net.sf.hibernate.type.AbstractType
net.sf.hibernate.type.PersistentCollectionType
net.sf.hibernate.type.BagType
- All Implemented Interfaces:
- AssociationType, Serializable, Type
- public class BagType
- extends PersistentCollectionType
- See Also:
- Serialized Form
Methods inherited from class net.sf.hibernate.type.PersistentCollectionType |
assemble, copy, deepCopy, disassemble, equals, equals, fromString, getAssociatedClass, getColumnSpan, getElementsIterator, getElementType, getForeignKeyDirection, getJoinable, getName, getReferencedColumns, getRole, hashCode, hasNiceEquals, hydrate, isArrayType, isAssociationType, isDirty, isModified, isMutable, isPersistentCollectionType, nullSafeGet, nullSafeGet, nullSafeSet, resolveIdentifier, sqlTypes, toString, toString, usePrimaryKeyAsForeignKey |
BagType
public BagType(String role)
instantiate
public PersistentCollection instantiate(SessionImplementor session,
CollectionPersister persister)
throws HibernateException
- Specified by:
instantiate
in class PersistentCollectionType
- Throws:
HibernateException
getReturnedClass
public Class getReturnedClass()
- Description copied from interface:
Type
- The class returned by nullSafeGet() methods. This is used to establish
the class of an array of this type.
- Returns:
- Class
wrap
public PersistentCollection wrap(SessionImplementor session,
Object collection)
- Specified by:
wrap
in class PersistentCollectionType