org.apache.commons.beanutils
Class BeanMap.Entry

java.lang.Object
  extended byorg.apache.commons.collections.keyvalue.AbstractKeyValue
      extended byorg.apache.commons.collections.keyvalue.AbstractMapEntry
          extended byorg.apache.commons.beanutils.BeanMap.Entry
All Implemented Interfaces:
KeyValue, java.util.Map.Entry
Enclosing class:
BeanMap

protected static class BeanMap.Entry
extends AbstractMapEntry

Map entry used by BeanMap.


Field Summary
private  BeanMap owner
           
 
Fields inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue
key, value
 
Constructor Summary
protected BeanMap.Entry(BeanMap owner, java.lang.Object key, java.lang.Object value)
          Constructs a new Entry.
 
Method Summary
 java.lang.Object setValue(java.lang.Object value)
          Sets the value.
 
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntry
equals, hashCode
 
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue
getKey, getValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
getKey, getValue
 

Field Detail

owner

private BeanMap owner
Constructor Detail

BeanMap.Entry

protected BeanMap.Entry(BeanMap owner,
                        java.lang.Object key,
                        java.lang.Object value)
Constructs a new Entry.

Parameters:
owner - the BeanMap this entry belongs to
key - the key for this entry
value - the value for this entry
Method Detail

setValue

public java.lang.Object setValue(java.lang.Object value)
Sets the value.

Parameters:
value - the new value for the entry
Returns:
the old value for the entry


Copyright (c) 2001-2004 - Apache Software Foundation