|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.AbstractSequentialList
|
+--java.util.LinkedList
|
+--com.solarmetric.rd.kodo.util.ProxyLinkedList
Extension of the LinkedList type that dirties the
persistent/transactional field it is assigned to on modification.
The need to dirty the field on any modification mandates that
this class must override all mutator methods of the base type.
This may lead to multiple calls to the
PersistenceCapable.jdoMakeDirty(java.lang.String) for one state
change if one mutator method of the base type calls another.
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
ProxyLinkedList()
Template constructor. |
|
ProxyLinkedList(java.lang.Class elementType)
Constructor. |
|
ProxyLinkedList(java.util.Collection contents,
java.lang.Class elementType)
Constructor. |
|
| Method Summary | |
void |
add(int index,
java.lang.Object value)
|
boolean |
add(java.lang.Object value)
|
boolean |
addAll(java.util.Collection values)
|
boolean |
addAll(int index,
java.util.Collection values)
|
void |
addFirst(java.lang.Object value)
|
void |
addLast(java.lang.Object value)
|
void |
clear()
|
java.util.Comparator |
getComparator()
Return the comparator used in this collection, or null if it is unordered or uses natural ordering. |
java.util.Collection |
getCopy(java.util.Collection orig)
This method should return a copy of the given collection; the copy should be of the same class as the superclass of this collection. |
java.lang.Object |
getOwner()
Return the owning object. |
java.lang.String |
getOwnerFieldName()
Return the owning field name. |
boolean |
isOwner(java.lang.Object pc,
java.lang.String fieldName)
Return true if the given object and field name match the owner of this proxy. |
java.util.Iterator |
iterator()
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
com.solarmetric.rd.kodo.util.ProxyCollection |
newInstance(java.lang.Class elementType,
java.util.Collection contents,
java.util.Comparator compare)
This method should return a new proxy of the same concrete type as the implementing class. |
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection c)
|
java.lang.Object |
removeFirst()
|
java.lang.Object |
removeLast()
|
boolean |
retainAll(java.util.Collection c)
|
java.lang.Object |
set(int index,
java.lang.Object element)
|
void |
setOwner(java.lang.Object pc,
java.lang.String fieldName)
Set the owning JDO instance of the proxy and the name of the field it is assigned to. |
protected java.lang.Object |
writeReplace()
|
| Methods inherited from class java.util.LinkedList |
clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, size, toArray, toArray |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
contains, containsAll, equals, hashCode, isEmpty, size, toArray, toArray |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, subList |
| Constructor Detail |
public ProxyLinkedList()
public ProxyLinkedList(java.util.Collection contents,
java.lang.Class elementType)
contents - The data that this collection should contain.elementType - All elements in this collection must be
instances of this type.public ProxyLinkedList(java.lang.Class elementType)
elementType - All elements in this collection must be
instances of this type.| Method Detail |
public com.solarmetric.rd.kodo.util.ProxyCollection newInstance(java.lang.Class elementType,
java.util.Collection contents,
java.util.Comparator compare)
ProxyCollectionProxyManager factories: one template
instance of each type is created for the purpose of producing
new instances via this method. Overcomes the performance
penalties of reflection.
newInstance in interface ProxyCollectionpublic java.util.Collection getCopy(java.util.Collection orig)
ProxyCollection
getCopy in interface ProxyCollectionpublic java.util.Comparator getComparator()
ProxyCollection
getComparator in interface ProxyCollection
public void setOwner(java.lang.Object pc,
java.lang.String fieldName)
Proxy
setOwner in interface Proxypublic java.lang.Object getOwner()
Proxy
getOwner in interface Proxypublic java.lang.String getOwnerFieldName()
Proxy
getOwnerFieldName in interface Proxy
public boolean isOwner(java.lang.Object pc,
java.lang.String fieldName)
Proxy
isOwner in interface Proxy
public void add(int index,
java.lang.Object value)
add in interface java.util.Listadd in class java.util.LinkedListpublic boolean add(java.lang.Object value)
add in interface java.util.Collectionadd in class java.util.LinkedListpublic void addFirst(java.lang.Object value)
addFirst in class java.util.LinkedListpublic void addLast(java.lang.Object value)
addLast in class java.util.LinkedList
public boolean addAll(int index,
java.util.Collection values)
addAll in interface java.util.ListaddAll in class java.util.LinkedListpublic boolean addAll(java.util.Collection values)
addAll in interface java.util.CollectionaddAll in class java.util.LinkedListpublic void clear()
clear in interface java.util.Collectionclear in class java.util.LinkedListpublic java.util.Iterator iterator()
iterator in interface java.util.Collectioniterator in class java.util.AbstractSequentialListpublic java.util.ListIterator listIterator()
listIterator in interface java.util.ListlistIterator in class java.util.AbstractListpublic java.util.ListIterator listIterator(int index)
listIterator in interface java.util.ListlistIterator in class java.util.LinkedListpublic java.lang.Object remove(int index)
remove in interface java.util.Listremove in class java.util.LinkedListpublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in class java.util.LinkedListpublic java.lang.Object removeFirst()
removeFirst in class java.util.LinkedListpublic java.lang.Object removeLast()
removeLast in class java.util.LinkedListpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.CollectionremoveAll in class java.util.AbstractCollectionpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in class java.util.AbstractCollection
public java.lang.Object set(int index,
java.lang.Object element)
set in interface java.util.Listset in class java.util.LinkedList
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||