SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.util
Class ProxyValueCollection

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--com.solarmetric.kodo.util.ProxyValueCollection
All Implemented Interfaces:
Collection, Serializable

public class ProxyValueCollection
extends AbstractCollection
implements Serializable

Map value collection that dirties the persistent/transactional field that owns the backing map 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.

See Also:
Serialized Form

Constructor Summary
ProxyValueCollection(Collection values, Set entrySet, Object pc, String fieldName, ChangeManager cm)
           
 
Method Summary
 boolean add(Object o)
           
 Iterator iterator()
           
 int size()
           
protected  Object writeReplace()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

ProxyValueCollection

public ProxyValueCollection(Collection values,
                            Set entrySet,
                            Object pc,
                            String fieldName,
                            ChangeManager cm)
Method Detail

size

public int size()
Overrides:
size in class AbstractCollection

add

public boolean add(Object o)
Overrides:
add in class AbstractCollection

iterator

public Iterator iterator()
Overrides:
iterator in class AbstractCollection

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.