Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.collection.AbstractPersistentCollection
org.hibernate.collection.PersistentIndexedElementHolder
public abstract class PersistentIndexedElementHolder
extends AbstractPersistentCollection
Nested Class Summary | |
static class |
Nested classes/interfaces inherited from class org.hibernate.collection.AbstractPersistentCollection | |
AbstractPersistentCollection.DelayedOperation |
Field Summary | |
protected Element |
Fields inherited from class org.hibernate.collection.AbstractPersistentCollection | |
UNKNOWN |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
boolean |
|
Iterator |
|
boolean |
|
boolean |
|
Iterator |
|
Object |
|
protected static String |
|
Object |
|
protected static String |
|
Collection |
|
Serializable |
|
Object |
|
Object |
|
boolean | |
boolean |
|
boolean |
|
boolean |
|
boolean |
|
Object |
|
protected static void |
|
public PersistentIndexedElementHolder(SessionImplementor session, Element element)
public PersistentIndexedElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key) throws HibernateException
public void beforeInitialize(CollectionPersister persister, int anticipatedSize)
- Specified by:
- beforeInitialize in interface PersistentCollection
public boolean empty()
- Specified by:
- empty in interface PersistentCollection
- Overrides:
- empty 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 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
protected static String getIndex(Element element, String indexNodeName, int i)
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 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 elementType) throws HibernateException
- Specified by:
- needsInserting in interface PersistentCollection
public boolean needsUpdating(Object entry, int i, Type elementType) 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
protected static void setIndex(Element element, String indexNodeName, String index)