org.objectweb.speedo.genclass.collection
Class ListImpl

java.lang.Object
  extended byorg.objectweb.speedo.genclass.GenClass
      extended byorg.objectweb.speedo.genclass.collection.CollectionImpl
          extended byorg.objectweb.speedo.genclass.collection.ListImpl
All Implemented Interfaces:
org.objectweb.perseus.cache.api.CacheEntry, java.util.Collection, org.objectweb.perseus.cache.api.FixableCacheEntry, java.util.List, org.objectweb.jorm.util.api.Loggable, org.objectweb.jorm.api.PBinding, org.objectweb.jorm.api.PBindingCtrl, javax.jdo.spi.PersistenceCapable, org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy

public class ListImpl
extends CollectionImpl
implements java.util.List

Author:
S.Chassande-Barrioz

Nested Class Summary
 
Nested classes inherited from class javax.jdo.spi.PersistenceCapable
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier
 
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, jdoIsActive, linkedField, listeners, logger, mapperName, pbinding, pnameHints, projectName, ptype
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, DETACHED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
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)
           
 SpeedoAccessor createAccessor()
           
 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)
           
 java.util.List subList(int i, int i1)
           
 
Methods inherited from class org.objectweb.speedo.genclass.collection.CollectionImpl
add, addAll, clear, contains, containsAll, equals, getReferenceAccessor, isEmpty, iterator, remove, removeAll, retainAll, setReferenceAccessor, size, toArray, toArray
 
Methods inherited from class org.objectweb.speedo.genclass.GenClass
bind, copyAccessor, elementIsReference, exist, export, export, fireSpeedoElementAdded, fireSpeedoElementRemoved, fixCe, getCeAge, getCeFixCount, getCeIdentifier, getCeObject, getDataIdentifier, getDataIdentifiers, getEncodedPName, getLogger, getLoggerFactory, getPClassMapping, getPName, getSpeedoAccessor, getSpeedoAccessors, getSpeedoHome, getStatus, init, init, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetGenClassId, jdoGetJdoFileName, jdoGetObjectId, jdoGetPBinding, jdoGetPersistenceManager, jdoGetPNameHints, jdoGetPType, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsActive, jdoIsActive, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceObjectId, jdoReplaceStateManager, jdoSetLinkedField, jdoSetPBinding, jdoSetPNameHints, jdoSetPType, read, read, removeSpeedoAccessor, setCeAge, setElements, setEncodedPName, setLogger, setLoggerFactory, setPName, setStatus, speedoAdd, speedoAdd, speedoAddGenClassListener, speedoRemove, speedoSetGcId, 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

createAccessor

public SpeedoAccessor createAccessor()
Specified by:
createAccessor in interface SpeedoProxy
Overrides:
createAccessor in class CollectionImpl

createGenClass

public java.lang.Object createGenClass()
Specified by:
createGenClass in interface SpeedoGenClassProxy
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