Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » collection » [javadoc | source]
org.hibernate.collection
public class: PersistentList [javadoc | source]
java.lang.Object
   org.hibernate.collection.AbstractPersistentCollection
      org.hibernate.collection.PersistentList

All Implemented Interfaces:
    List, PersistentCollection, Serializable

A persistent wrapper for a java.util.List. Underlying collection is an ArrayList.
Nested Class Summary:
final class  PersistentList.Clear   
final class  PersistentList.SimpleAdd   
final class  PersistentList.Add   
final class  PersistentList.Set   
final class  PersistentList.Remove   
final class  PersistentList.SimpleRemove   
Field Summary
protected  List list     
Fields inherited from org.hibernate.collection.AbstractPersistentCollection:
UNKNOWN
Constructor:
 public PersistentList() 
 public PersistentList(SessionImplementor session) 
 public PersistentList(SessionImplementor session,
    List list) 
Method from org.hibernate.collection.PersistentList Summary:
add,   add,   addAll,   addAll,   beforeInitialize,   clear,   contains,   containsAll,   disassemble,   empty,   entries,   entryExists,   equals,   equalsSnapshot,   get,   getDeletes,   getElement,   getIndex,   getOrphans,   getSnapshot,   getSnapshotElement,   hashCode,   indexOf,   initializeFromCache,   isEmpty,   isSnapshotEmpty,   isWrapper,   iterator,   lastIndexOf,   listIterator,   listIterator,   needsInserting,   needsUpdating,   readFrom,   remove,   remove,   removeAll,   retainAll,   set,   size,   subList,   toArray,   toArray,   toString
Methods from org.hibernate.collection.AbstractPersistentCollection:
afterInitialize,   afterRowInsert,   beginRead,   clearDirty,   dirty,   empty,   endRead,   forceInitialization,   getCachedSize,   getIdentifier,   getKey,   getOrphans,   getOrphans,   getOwner,   getQueuedOrphans,   getRole,   getSession,   getSnapshot,   getStoredSnapshot,   getValue,   hasQueuedOperations,   identityRemove,   initialize,   isClearQueueEnabled,   isDirectlyAccessible,   isDirty,   isOperationQueueEnabled,   isPutQueueEnabled,   isRowUpdatePossible,   isUnreferenced,   needsRecreate,   performQueuedOperations,   postAction,   preInsert,   queueOperation,   queuedAdditionIterator,   read,   readElementByIndex,   readElementExistence,   readIndexExistence,   readSize,   setCurrentSession,   setDirectlyAccessible,   setInitialized,   setOwner,   setSnapshot,   unsetSession,   wasInitialized,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.collection.PersistentList Detail:
 public boolean add(Object object) 
 public  void add(int index,
    Object value) 
 public boolean addAll(Collection values) 
 public boolean addAll(int index,
    Collection coll) 
 public  void beforeInitialize(CollectionPersister persister,
    int anticipatedSize) 
 public  void clear() 
 public boolean contains(Object object) 
 public boolean containsAll(Collection coll) 
 public Serializable disassemble(CollectionPersister persister) throws HibernateException 
 public boolean empty() 
 public Iterator entries(CollectionPersister persister) 
 public boolean entryExists(Object entry,
    int i) 
 public boolean equals(Object other) 
 public boolean equalsSnapshot(CollectionPersister persister) throws HibernateException 
 public Object get(int index) 
 public Iterator getDeletes(CollectionPersister persister,
    boolean indexIsFormula) throws HibernateException 
 public Object getElement(Object entry) 
 public Object getIndex(Object entry,
    int i,
    CollectionPersister persister) 
 public Collection getOrphans(Serializable snapshot,
    String entityName) throws HibernateException 
 public Serializable getSnapshot(CollectionPersister persister) throws HibernateException 
 public Object getSnapshotElement(Object entry,
    int i) 
 public int hashCode() 
 public int indexOf(Object value) 
 public  void initializeFromCache(CollectionPersister persister,
    Serializable disassembled,
    Object owner) throws HibernateException 
 public boolean isEmpty() 
 public boolean isSnapshotEmpty(Serializable snapshot) 
 public boolean isWrapper(Object collection) 
 public Iterator iterator() 
 public int lastIndexOf(Object value) 
 public ListIterator listIterator() 
 public ListIterator listIterator(int index) 
 public boolean needsInserting(Object entry,
    int i,
    Type elemType) throws HibernateException 
 public boolean needsUpdating(Object entry,
    int i,
    Type elemType) throws HibernateException 
 public Object readFrom(ResultSet rs,
    CollectionPersister persister,
    CollectionAliases descriptor,
    Object owner) throws HibernateException, SQLException 
 public boolean remove(Object value) 
 public Object remove(int index) 
 public boolean removeAll(Collection coll) 
 public boolean retainAll(Collection coll) 
 public Object set(int index,
    Object value) 
 public int size() 
 public List subList(int from,
    int to) 
 public Object[] toArray() 
 public Object[] toArray(Object[] array) 
 public String toString()