org.objectweb.speedo.genclass.collection
Class VectorImpl
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
org.objectweb.speedo.genclass.collection.VectorImpl
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy
- public abstract class VectorImpl
- extends java.util.Vector
- implements SpeedoGenClassProxy
- Author:
- S.Chassande-Barrioz
- See Also:
- Serialized Form
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.Vector |
add, addAll, addElement, capacity, clone, copyInto, elementAt, elements, ensureCapacity, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, subList, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
listIterator, listIterator |
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 java.util.List |
listIterator, listIterator |
VectorImpl
public VectorImpl()
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