|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.type.AbstractType net.sf.hibernate.type.PersistentCollectionType net.sf.hibernate.type.ArrayType
A type for persistent arrays.
Constructor Summary | |
ArrayType(String role,
Class elementClass)
|
Method Summary | |
Object |
copy(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copiedAlready)
|
Serializable |
disassemble(Object value,
SessionImplementor session)
Return a cacheable "disassembled" representation of the object. |
Iterator |
getElementsIterator(Object collection)
Not defined for collections of primitive type |
Class |
getReturnedClass()
The class returned by nullSafeGet() methods. |
PersistentCollection |
instantiate(SessionImplementor session,
CollectionPersister persister)
|
boolean |
isArrayType()
|
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Write an instance of the mapped class to a prepared statement. |
String |
toString(Object value,
SessionFactoryImplementor factory)
A representation of the value to be embedded in an XML element. |
PersistentCollection |
wrap(SessionImplementor session,
Object array)
|
Methods inherited from class net.sf.hibernate.type.PersistentCollectionType |
assemble, deepCopy, equals, equals, fromString, getAssociatedClass, getColumnSpan, getElementType, getForeignKeyDirection, getJoinable, getName, getReferencedColumns, getRole, hashCode, hasNiceEquals, hydrate, isAssociationType, isDirty, isModified, isMutable, isPersistentCollectionType, nullSafeGet, nullSafeGet, resolveIdentifier, sqlTypes, toString, usePrimaryKeyAsForeignKey |
Methods inherited from class net.sf.hibernate.type.AbstractType |
isComponentType, isEntityType, isObjectType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.hibernate.type.Type |
isComponentType, isEntityType, isObjectType |
Constructor Detail |
public ArrayType(String role, Class elementClass)
Method Detail |
public Class getReturnedClass()
Type
public PersistentCollection instantiate(SessionImplementor session, CollectionPersister persister) throws HibernateException
instantiate
in class PersistentCollectionType
HibernateException
public void nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session) throws HibernateException, SQLException
Type
nullSafeSet
in interface Type
nullSafeSet
in class PersistentCollectionType
HibernateException
SQLException
public Iterator getElementsIterator(Object collection)
getElementsIterator
in class PersistentCollectionType
public Serializable disassemble(Object value, SessionImplementor session) throws HibernateException
Type
disassemble
in interface Type
disassemble
in class PersistentCollectionType
HibernateException
public PersistentCollection wrap(SessionImplementor session, Object array)
wrap
in class PersistentCollectionType
public boolean isArrayType()
isArrayType
in class PersistentCollectionType
public String toString(Object value, SessionFactoryImplementor factory) throws HibernateException
Type
toString
in interface Type
toString
in class PersistentCollectionType
HibernateException
public Object copy(Object original, Object target, SessionImplementor session, Object owner, Map copiedAlready) throws HibernateException
copy
in interface Type
copy
in class PersistentCollectionType
HibernateException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |