org.granite.client.persistence.collection
Class PersistentBag<E>

java.lang.Object
  extended by org.granite.client.persistence.collection.AbstractPersistentCollection<C>
      extended by org.granite.client.persistence.collection.AbstractPersistentSimpleCollection<E,List<E>>
          extended by org.granite.client.persistence.collection.PersistentList<E>
              extended by org.granite.client.persistence.collection.PersistentBag<E>
All Implemented Interfaces:
Externalizable, Serializable, Iterable<E>, Collection<E>, List<E>, PersistentCollection

public class PersistentBag<E>
extends PersistentList<E>

Author:
Franck WOLFF
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.granite.client.persistence.collection.PersistentCollection
PersistentCollection.ChangeListener, PersistentCollection.InitializationCallback, PersistentCollection.InitializationListener
 
Constructor Summary
PersistentBag()
           
PersistentBag(boolean initialized)
           
PersistentBag(List<E> collection)
           
PersistentBag(List<E> collection, boolean clone)
           
 
Method Summary
 
Methods inherited from class org.granite.client.persistence.collection.PersistentList
add, addAll, clone, doInitialize, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList, updateFromSnapshot
 
Methods inherited from class org.granite.client.persistence.collection.AbstractPersistentSimpleCollection
add, addAll, clear, contains, containsAll, createSnapshot, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class org.granite.client.persistence.collection.AbstractPersistentCollection
addListener, addListener, checkInitializedRead, checkInitializedWrite, clearDirty, dirty, getClassLoader, getCollection, getDetachedState, getLoader, init, initialize, initializing, isDirty, readExternal, removeListener, removeListener, setLoader, toString, uninitialize, wasInitialized, withInitialized, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

PersistentBag

public PersistentBag()

PersistentBag

public PersistentBag(boolean initialized)

PersistentBag

public PersistentBag(List<E> collection)

PersistentBag

public PersistentBag(List<E> collection,
                     boolean clone)