org.objectweb.speedo.genclass.collection
Class ListImpl

java.lang.Object
  extended by org.objectweb.speedo.genclass.GenClass
      extended by org.objectweb.speedo.genclass.collection.CollectionImpl
          extended by org.objectweb.speedo.genclass.collection.ListImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List, org.objectweb.jorm.api.PBinding, org.objectweb.jorm.api.PBindingCtrl, org.objectweb.jorm.util.api.Loggable, CacheEntry, FixableCacheEntry, ReplaceableCacheEntry, SpeedoGenClassCoherence, SpeedoGenClassPO, SpeedoGenClassSerializable, PersistentObjectItf

public class ListImpl
extends CollectionImpl
implements java.util.List

Author:
S.Chassande-Barrioz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.speedo.genclass.collection.CollectionImpl
DEFAULT_SIZE
 
Fields inherited from class org.objectweb.speedo.genclass.GenClass
age, encodedPName, fix, gcid, linkedField, listeners, logger, mapperName, pbinding, pnameHints, projectName, ptype, speedoIsActive
 
Fields inherited from interface org.objectweb.jorm.api.PBinding
ACTION_BIND, ACTION_EXIST, ACTION_EXPORT, ACTION_READ, ACTION_UNBIND, ACTION_UNEXPORT, ACTION_WRITE, LIFECYCLE_ACTIVEFORIO, LIFECYCLE_DELTOWRITE, LIFECYCLE_ERROR, LIFECYCLE_NEWTOWRITE, LIFECYCLE_NOTBOUND
 
Constructor Summary
ListImpl()
          Instantiates a new collection.
 
Method Summary
 void add(int i, java.lang.Object o)
           
 boolean addAll(int i, java.util.Collection collection)
           
 java.lang.Object createGenClass()
           
 java.lang.Object get(int i)
           
 int indexOf(java.lang.Object o)
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator listIterator()
           
 java.util.ListIterator listIterator(int i)
           
 java.lang.Object remove(int i)
           
 java.lang.Object set(int i, java.lang.Object o)
           
 StateItf speedoCreateState()
           
 java.util.List subList(int i, int i1)
           
 
Methods inherited from class org.objectweb.speedo.genclass.collection.CollectionImpl
add, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, speedoGetReferenceState, speedoSetReferenceState, toArray, toArray
 
Methods inherited from class org.objectweb.speedo.genclass.GenClass
bind, elementIsReference, exist, export, export, fireSpeedoElementAdded, fireSpeedoElementRemoved, fixCe, getCeAge, getCeFixCount, getCeIdentifier, getCeObject, getDataIdentifier, getDataIdentifiers, getLogger, getLoggerFactory, getPClassMapping, getPName, getSpeedoAccessors, getStatus, init, init, read, read, read, removeSpeedoAccessor, setCeAge, setElements, setLogger, setLoggerFactory, setPName, setStatus, speedoAdd, speedoAdd, speedoAddGenClassListener, speedoCopyState, speedoGetEncodedPName, speedoGetGenClassId, speedoGetHome, speedoGetPBinding, speedoGetPNameHints, speedoGetPOManager, speedoGetPType, speedoGetState, speedoIsActive, speedoIsActive, speedoIsPersistent, speedoRemove, speedoSetEncodedPName, speedoSetGcId, speedoSetLinkedField, speedoSetPBinding, speedoSetPNameHints, speedoSetPType, unbind, unexport, unfixCe, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, 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

ListImpl

public ListImpl()
Instantiates a new collection.

Method Detail

speedoCreateState

public StateItf speedoCreateState()
Specified by:
speedoCreateState in interface PersistentObjectItf
Overrides:
speedoCreateState in class CollectionImpl
Returns:
a new StateItf instance.

createGenClass

public java.lang.Object createGenClass()
Specified by:
createGenClass in interface SpeedoGenClassPO
Overrides:
createGenClass in class CollectionImpl

addAll

public boolean addAll(int i,
                      java.util.Collection collection)
Specified by:
addAll in interface java.util.List

get

public java.lang.Object get(int i)
Specified by:
get in interface java.util.List

set

public java.lang.Object set(int i,
                            java.lang.Object o)
Specified by:
set in interface java.util.List

add

public void add(int i,
                java.lang.Object o)
Specified by:
add in interface java.util.List

remove

public java.lang.Object remove(int i)
Specified by:
remove in interface java.util.List

indexOf

public int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List

lastIndexOf

public int lastIndexOf(java.lang.Object o)
Specified by:
lastIndexOf in interface java.util.List

listIterator

public java.util.ListIterator listIterator()
Specified by:
listIterator in interface java.util.List

listIterator

public java.util.ListIterator listIterator(int i)
Specified by:
listIterator in interface java.util.List

subList

public java.util.List subList(int i,
                              int i1)
Specified by:
subList in interface java.util.List