| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.type.AbstractTypeorg.hibernate.type.CollectionTypeorg.hibernate.type.ArrayTypepublic class ArrayTypeextends CollectionTypeField Summary |
Fields inherited from class org.hibernate.type.CollectionType | |
UNFETCHED_COLLECTION | |
Constructor Summary | |
| |
Method Summary | |
Iterator |
|
Class |
|
boolean |
|
Object |
|
protected boolean |
|
Object |
|
PersistentCollection |
|
Object |
|
boolean | |
Object |
|
String |
|
PersistentCollection |
|
Methods inherited from class org.hibernate.type.AbstractType | |
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve | |
public ArrayType(String role,
String propertyRef,
Class elementClass,
boolean isEmbeddedInXML)public Iterator getElementsIterator(Object collection)
Not defined for collections of primitive type
- Overrides:
- getElementsIterator in interface CollectionType
public Class getReturnedClass()
The class returned by nullSafeGet() methods. This is used to establish the class of an array of this type.
- Specified by:
- getReturnedClass in interface Type
- Returns:
- Class
public boolean hasHolder(EntityMode entityMode)
- Overrides:
- hasHolder in interface CollectionType
public Object indexOf(Object array,
Object element)
- Overrides:
- indexOf in interface CollectionType
protected boolean initializeImmediately(EntityMode entityMode)
- Overrides:
- initializeImmediately in interface CollectionType
public Object instantiate(int anticipatedSize)
- Overrides:
- instantiate in interface CollectionType
public PersistentCollection instantiate(SessionImplementor session, CollectionPersister persister, Serializable key) throws HibernateException
- Overrides:
- instantiate in interface CollectionType
public Object instantiateResult(Object original)
- Overrides:
- instantiateResult in interface CollectionType
public Object replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SessionImplementor session)
throws HibernateException
- Overrides:
- replaceElements in interface CollectionType
public String toLoggableString(Object value,
SessionFactoryImplementor factory)
throws HibernateExceptionA representation of the value to be embedded in a log file.
- Specified by:
- toLoggableString in interface Type
- Overrides:
- toLoggableString in interface CollectionType
- Parameters:
value-factory-
- Returns:
- String
- Throws:
HibernateException-
public PersistentCollection wrap(SessionImplementor session, Object array)
- Overrides:
- wrap in interface CollectionType