org.objectweb.speedo.genclass.collection
Class LinkedListImpl

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.AbstractSequentialList
              extended byjava.util.LinkedList
                  extended byorg.objectweb.speedo.genclass.collection.LinkedListImpl
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy

public abstract class LinkedListImpl
extends java.util.LinkedList
implements SpeedoGenClassProxy

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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LinkedListImpl()
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 SpeedoAccessor createAccessor()
           
 java.lang.Object createGenClass()
           
 boolean equals(java.lang.Object o)
           
 SpeedoAccessor getReferenceAccessor()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
abstract  void jdoMakePersistent(ProxyManager pm, java.util.Iterator it)
           
 void jdoMakePersistent(ProxyManager pm, SpeedoAccessor sa)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 void setReferenceAccessor(SpeedoAccessor refAcc)
          Assignes the reference accessor to the SpeedoProxy The Reference accessor is used for non persistent instance, as cache value and for pessimistic policy.
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           
 
Methods inherited from class java.util.LinkedList
add, addAll, addFirst, addLast, clone, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, removeFirst, removeLast, set
 
Methods inherited from class java.util.AbstractList
hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.speedo.genclass.api.SpeedoGenClassProxy
fireSpeedoElementAdded, fireSpeedoElementRemoved, init, jdoGetGenClassId, jdoGetPBinding, jdoGetPType, jdoMakePersistent, jdoReadIntention, jdoSetLinkedField, jdoSetPBinding, jdoSetPNameHints, jdoSetPType, jdoWriteIntention, setElements, speedoAddGenClassListener, speedoSetGcId
 
Methods inherited from interface org.objectweb.speedo.mim.api.SpeedoProxy
copyAccessor, fgGetFieldsToLoad, fgGetFieldsToLoad, fgGetNestedFetchGroups, fgIsDefined, fgIsPostload, getEncodedPName, getSpeedoAccessor, jdoAttachCopy, jdoDeletePersistent, jdoDetachCopy, jdoGetJdoFileName, jdoGetPNameHints, jdoGetProjectName, jdoGetProxyManagerFactory, jdoGetTransactionalPersistenceManager, jdoGetVersioningStrategy, jdoIsActive, jdoIsActive, jdoIsDetachable, jdoRefresh, jdoSetProxyManagerFactory, jdoSetTransactionalPersistenceManager, setEncodedPName, speedoAdd
 
Methods inherited from interface org.objectweb.speedo.genclass.api.SpeedoGenClassCoherence
speedoAdd, speedoRemove
 
Methods inherited from interface java.util.List
hashCode, listIterator, subList
 

Constructor Detail

LinkedListImpl

public LinkedListImpl()
Method Detail

jdoMakePersistent

public abstract void jdoMakePersistent(ProxyManager pm,
                                       java.util.Iterator it)

getReferenceAccessor

public SpeedoAccessor getReferenceAccessor()
Specified by:
getReferenceAccessor in interface SpeedoProxy
Returns:
the reference accessor of the SpeedoProxy instance. It can be * null. The Reference accessor is used for non persistent instance, as cache value and for pessimistic policy.

setReferenceAccessor

public void setReferenceAccessor(SpeedoAccessor refAcc)
Description copied from interface: SpeedoProxy
Assignes the reference accessor to the SpeedoProxy The Reference accessor is used for non persistent instance, as cache value and for pessimistic policy.

Specified by:
setReferenceAccessor in interface SpeedoProxy
Parameters:
refAcc - the new reference accessor

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.List

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.List

clear

public void clear()
Specified by:
clear in interface SpeedoGenClassProxy

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.List

containsAll

public boolean containsAll(java.util.Collection c)
Specified by:
containsAll in interface java.util.List

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.List

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.List

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.List

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.List

removeAll

public boolean removeAll(java.util.Collection c)
Specified by:
removeAll in interface java.util.List

retainAll

public boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.List

size

public int size()
Specified by:
size in interface java.util.List

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.List

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)
Specified by:
toArray in interface java.util.List

createGenClass

public java.lang.Object createGenClass()
Specified by:
createGenClass in interface SpeedoGenClassProxy

createAccessor

public SpeedoAccessor createAccessor()
Specified by:
createAccessor in interface SpeedoProxy
Returns:
a new SpeedoAccessor instance.

jdoMakePersistent

public void jdoMakePersistent(ProxyManager pm,
                              SpeedoAccessor sa)
Specified by:
jdoMakePersistent in interface SpeedoProxy