| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.collection.AbstractPersistentCollectionorg.hibernate.collection.PersistentArrayHolderpublic class PersistentArrayHolderextends AbstractPersistentCollectionNested Class Summary |
Nested classes/interfaces inherited from class org.hibernate.collection.AbstractPersistentCollection | |
AbstractPersistentCollection.DelayedOperation | |
Field Summary | |
protected Object | |
Fields inherited from class org.hibernate.collection.AbstractPersistentCollection | |
UNKNOWN | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
void | |
Serializable |
|
Iterator |
|
boolean |
|
boolean |
|
Iterator |
|
boolean |
|
boolean |
|
Object |
|
Iterator |
|
Object |
|
Object |
|
Collection |
|
Serializable |
|
Object |
|
Object |
|
void |
|
boolean | |
boolean |
|
boolean |
|
boolean |
|
boolean |
|
Object |
|
public PersistentArrayHolder(SessionImplementor session, CollectionPersister persister) throws HibernateException
public void beforeInitialize(CollectionPersister persister, int anticipatedSize)
- Specified by:
- beforeInitialize in interface PersistentCollection
public void beginRead()
- Specified by:
- beginRead in interface PersistentCollection
- Overrides:
- beginRead in interface AbstractPersistentCollection
public Serializable disassemble(CollectionPersister persister) throws HibernateException
- Specified by:
- disassemble in interface PersistentCollection
public Iterator elements()
public boolean empty()
- Specified by:
- empty in interface PersistentCollection
- Overrides:
- empty in interface AbstractPersistentCollection
public boolean endRead()
- Specified by:
- endRead in interface PersistentCollection
- Overrides:
- endRead in interface AbstractPersistentCollection
public Iterator entries(CollectionPersister persister)
- Specified by:
- entries in interface PersistentCollection
public boolean entryExists(Object entry,
int i)
- Specified by:
- entryExists in interface PersistentCollection
public boolean equalsSnapshot(CollectionPersister persister) throws HibernateException
- Specified by:
- equalsSnapshot in interface PersistentCollection
public Object getArray()
public Iterator getDeletes(CollectionPersister persister, boolean indexIsFormula) throws HibernateException
- Specified by:
- getDeletes in interface PersistentCollection
public Object getElement(Object entry)
- Specified by:
- getElement in interface PersistentCollection
public Object getIndex(Object entry,
int i,
CollectionPersister persister)
- Specified by:
- getIndex in interface PersistentCollection
public Collection getOrphans(Serializable snapshot,
String entityName)
throws HibernateException
- Specified by:
- getOrphans in interface PersistentCollection
- Overrides:
- getOrphans in interface AbstractPersistentCollection
public Serializable getSnapshot(CollectionPersister persister) throws HibernateException
- Specified by:
- getSnapshot in interface PersistentCollection
public Object getSnapshotElement(Object entry,
int i)
- Specified by:
- getSnapshotElement in interface PersistentCollection
public Object getValue()
- Specified by:
- getValue in interface PersistentCollection
- Overrides:
- getValue in interface AbstractPersistentCollection
public void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner) throws HibernateException
- Specified by:
- initializeFromCache in interface PersistentCollection
public boolean isDirectlyAccessible()
- Specified by:
- isDirectlyAccessible in interface PersistentCollection
- Overrides:
- isDirectlyAccessible in interface AbstractPersistentCollection
public boolean isSnapshotEmpty(Serializable snapshot)
- Specified by:
- isSnapshotEmpty in interface PersistentCollection
public boolean isWrapper(Object collection)
- Specified by:
- isWrapper in interface PersistentCollection
public boolean needsInserting(Object entry,
int i,
Type elemType)
throws HibernateException
- Specified by:
- needsInserting in interface PersistentCollection
public boolean needsUpdating(Object entry,
int i,
Type elemType)
throws HibernateException
- Specified by:
- needsUpdating in interface PersistentCollection
public Object readFrom(ResultSet rs,
CollectionPersister persister,
CollectionAliases descriptor,
Object owner)
throws HibernateException,
SQLException
- Specified by:
- readFrom in interface PersistentCollection