org.apache.commons.beanutils

Class BeanMap.Entry

Enclosing Class:
BeanMap

protected static class BeanMap.Entry
extends AbstractMapEntry

Map entry used by BeanMap.

Field Summary

private BeanMap
owner

Constructor Summary

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

Method Summary

Object
setValue(Object value)
Sets the value.

Field Details

owner

private BeanMap owner

Constructor Details

Entry

protected Entry(BeanMap owner,
                Object key,
                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 Details

setValue

public Object setValue(Object value)
Sets the value.
Parameters:
value - the new value for the entry
Returns:
the old value for the entry

Copyright (c) 2001-2007 - Apache Software Foundation