public class DelayedVectorProxy extends java.util.Vector implements ProxyCollection, DelayedProxy
| Constructor and Description |
|---|
DelayedVectorProxy() |
DelayedVectorProxy(java.util.Collection paramCollection) |
DelayedVectorProxy(int paramInt) |
DelayedVectorProxy(int paramInt1,
int paramInt2) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int paramInt,
java.lang.Object paramObject) |
boolean |
add(java.lang.Object paramObject) |
boolean |
addAll(java.util.Collection paramCollection) |
boolean |
addAll(int paramInt,
java.util.Collection paramCollection) |
void |
addElement(java.lang.Object paramObject) |
int |
capacity() |
void |
clear() |
java.lang.Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection collection) |
java.lang.Object |
copy(java.lang.Object paramObject)
Return an unproxied copy of the given instance.
|
void |
copyInto(java.lang.Object[] anArray) |
java.lang.Object |
elementAt(int index) |
java.util.Enumeration |
elements() |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(java.lang.Object paramObject) |
java.lang.Object |
firstElement() |
java.lang.Object |
get(int location) |
Broker |
getBroker()
Get the broker that is used to service this proxy.
|
BrokerFactory |
getBrokerFactory() |
ChangeTracker |
getChangeTracker()
Return the change tracker for this proxy, or null if none.
|
int |
getDelayedField()
Returns the expected field index even if this collection
was detached.
|
OpenJPAStateManager |
getDelayedOwner()
Returns a state manager that can service this proxy even if
the collection was detached.
|
java.lang.Class |
getElementType()
The collection element type.
|
OpenJPAStateManager |
getOwner()
Return the owning object.
|
int |
getOwnerField()
Return the owning field index.
|
OpenJPAStateManager |
getOwnerStateManager()
Returns the state manager of the owning instance.
|
int |
hashCode() |
int |
indexOf(java.lang.Object object) |
int |
indexOf(java.lang.Object object,
int index) |
void |
insertElementAt(java.lang.Object paramObject,
int paramInt) |
boolean |
isDelayLoad() |
boolean |
isDetached()
Returns whether the proxy is detached.
|
boolean |
isDirectAccess()
Returns whether the caller has direct-call access to the proxied
object.
|
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
java.lang.Object |
lastElement() |
int |
lastIndexOf(java.lang.Object object) |
int |
lastIndexOf(java.lang.Object o,
int index) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int paramInt) |
void |
load()
Load the proxy if it was delay-loaded.
|
ProxyCollection |
newInstance(java.lang.Class paramClass,
java.util.Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2)
Create a new instance of this proxy type.
|
java.lang.Object |
remove(int paramInt) |
boolean |
remove(java.lang.Object paramObject) |
boolean |
removeAll(java.util.Collection paramCollection) |
void |
removeAllElements() |
boolean |
removeElement(java.lang.Object paramObject) |
void |
removeElementAt(int paramInt) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(java.util.Collection paramCollection) |
java.lang.Object |
set(int paramInt,
java.lang.Object paramObject) |
protected void |
setChangeTracker(CollectionChangeTracker ct) |
void |
setDirectAccess(boolean direct)
Sets whether the caller has direct-call access to the proxied
object.
|
void |
setElementAt(java.lang.Object paramObject,
int paramInt) |
protected void |
setElementType(java.lang.Class<?> elemType) |
void |
setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt)
Reset the state of the proxy, and set the owning instance of the
proxy and the name of the field it is assigned to.
|
void |
setSize(int paramInt) |
int |
size() |
java.util.List |
subList(int start,
int end) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] array) |
java.lang.String |
toString() |
void |
trimToSize() |
protected java.lang.Object |
writeReplace() |
public DelayedVectorProxy(int paramInt)
public DelayedVectorProxy()
public DelayedVectorProxy(java.util.Collection paramCollection)
public DelayedVectorProxy(int paramInt1,
int paramInt2)
public void setOwner(OpenJPAStateManager paramOpenJPAStateManager, int paramInt)
Proxypublic int getDelayedField()
DelayedProxygetDelayedField in interface DelayedProxypublic OpenJPAStateManager getDelayedOwner()
DelayedProxygetDelayedOwner in interface DelayedProxypublic OpenJPAStateManager getOwner()
Proxypublic int getOwnerField()
ProxygetOwnerField in interface Proxypublic boolean isDirectAccess()
DelayedProxyisDirectAccess in interface DelayedProxypublic void setDirectAccess(boolean direct)
DelayedProxysetDirectAccess in interface DelayedProxypublic BrokerFactory getBrokerFactory()
public void load()
DelayedProxyload in interface DelayedProxypublic Broker getBroker()
DelayedProxygetBroker in interface DelayedProxypublic void closeBroker()
DelayedProxycloseBroker in interface DelayedProxypublic OpenJPAStateManager getOwnerStateManager()
DelayedProxygetOwnerStateManager in interface DelayedProxypublic boolean isDetached()
DelayedProxyisDetached in interface DelayedProxypublic boolean isDelayLoad()
public java.lang.Object clone()
clone in class java.util.Vectorpublic ChangeTracker getChangeTracker()
ProxygetChangeTracker in interface Proxyprotected void setChangeTracker(CollectionChangeTracker ct)
public java.lang.Object copy(java.lang.Object paramObject)
Proxypublic java.lang.Class getElementType()
ProxyCollectiongetElementType in interface ProxyCollectionprotected void setElementType(java.lang.Class<?> elemType)
public ProxyCollection newInstance(java.lang.Class paramClass, java.util.Comparator paramComparator, boolean paramBoolean1, boolean paramBoolean2)
ProxyCollectionnewInstance in interface ProxyCollectionpublic boolean add(java.lang.Object paramObject)
add in interface java.util.Collectionadd in interface java.util.Listadd in class java.util.Vectorpublic void add(int paramInt,
java.lang.Object paramObject)
add in interface java.util.Listadd in class java.util.Vectorpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Listclear in class java.util.Vectorpublic boolean addAll(int paramInt,
java.util.Collection paramCollection)
addAll in interface java.util.ListaddAll in class java.util.Vectorpublic boolean addAll(java.util.Collection paramCollection)
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in class java.util.Vectorpublic void addElement(java.lang.Object paramObject)
addElement in class java.util.Vectorpublic java.lang.Object remove(int paramInt)
remove in interface java.util.Listremove in class java.util.Vectorpublic boolean remove(java.lang.Object paramObject)
remove in interface java.util.Collectionremove in interface java.util.Listremove in class java.util.Vectorpublic java.lang.Object set(int paramInt,
java.lang.Object paramObject)
set in interface java.util.Listset in class java.util.Vectorpublic boolean removeAll(java.util.Collection paramCollection)
removeAll in interface java.util.CollectionremoveAll in interface java.util.ListremoveAll in class java.util.Vectorpublic boolean retainAll(java.util.Collection paramCollection)
retainAll in interface java.util.CollectionretainAll in interface java.util.ListretainAll in class java.util.Vectorpublic void insertElementAt(java.lang.Object paramObject,
int paramInt)
insertElementAt in class java.util.Vectorpublic void removeAllElements()
removeAllElements in class java.util.Vectorpublic boolean removeElement(java.lang.Object paramObject)
removeElement in class java.util.Vectorpublic void removeElementAt(int paramInt)
removeElementAt in class java.util.Vectorpublic void setElementAt(java.lang.Object paramObject,
int paramInt)
setElementAt in class java.util.Vectorpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listiterator in class java.util.Vectorpublic java.util.ListIterator listIterator(int paramInt)
listIterator in interface java.util.ListlistIterator in class java.util.Vectorpublic java.util.ListIterator listIterator()
listIterator in interface java.util.ListlistIterator in class java.util.Vectorpublic void setSize(int paramInt)
setSize in class java.util.Vectorprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic boolean contains(java.lang.Object object)
contains in interface java.util.Collectioncontains in interface java.util.Listcontains in class java.util.Vectorpublic boolean containsAll(java.util.Collection collection)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.ListcontainsAll in class java.util.Vectorpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.ListisEmpty in class java.util.Vectorpublic int size()
size in interface java.util.Collectionsize in interface java.util.Listsize in class java.util.Vectorpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.ListtoArray in class java.util.Vectorpublic java.lang.Object[] toArray(java.lang.Object[] array)
toArray in interface java.util.CollectiontoArray in interface java.util.ListtoArray in class java.util.Vectorpublic boolean equals(java.lang.Object paramObject)
equals in interface java.util.Collectionequals in interface java.util.Listequals in class java.util.Vectorpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class java.util.Vectorpublic int lastIndexOf(java.lang.Object object)
lastIndexOf in interface java.util.ListlastIndexOf in class java.util.Vectorpublic java.util.List subList(int start,
int end)
subList in interface java.util.ListsubList in class java.util.Vectorpublic java.lang.Object get(int location)
get in interface java.util.Listget in class java.util.Vectorpublic int indexOf(java.lang.Object object)
indexOf in interface java.util.ListindexOf in class java.util.Vectorpublic int indexOf(java.lang.Object object,
int index)
indexOf in class java.util.Vectorpublic void copyInto(java.lang.Object[] anArray)
copyInto in class java.util.Vectorpublic void trimToSize()
trimToSize in class java.util.Vectorpublic void ensureCapacity(int minCapacity)
ensureCapacity in class java.util.Vectorpublic int capacity()
capacity in class java.util.Vectorpublic java.util.Enumeration elements()
elements in class java.util.Vectorpublic int lastIndexOf(java.lang.Object o,
int index)
lastIndexOf in class java.util.Vectorpublic java.lang.Object elementAt(int index)
elementAt in class java.util.Vectorpublic java.lang.Object firstElement()
firstElement in class java.util.Vectorpublic java.lang.Object lastElement()
lastElement in class java.util.Vectorpublic java.lang.String toString()
toString in class java.util.Vectorprotected void removeRange(int fromIndex,
int toIndex)
removeRange in class java.util.VectorCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.