com.mysema.util
Class BeanMap.MyMapEntry

java.lang.Object
  extended by com.mysema.util.BeanMap.MyMapEntry
All Implemented Interfaces:
Map.Entry<String,Object>
Enclosing class:
BeanMap

protected static class BeanMap.MyMapEntry
extends Object
implements Map.Entry<String,Object>

Map entry used by BeanMap.


Constructor Summary
protected BeanMap.MyMapEntry(BeanMap owner, String key, Object value)
          Constructs a new MyMapEntry.
 
Method Summary
 String getKey()
           
 Object getValue()
           
 Object setValue(Object value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

BeanMap.MyMapEntry

protected BeanMap.MyMapEntry(BeanMap owner,
                             String key,
                             Object value)
Constructs a new MyMapEntry.

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

setValue

public Object setValue(Object value)
Sets the value.

Specified by:
setValue in interface Map.Entry<String,Object>
Parameters:
value - the new value for the entry
Returns:
the old value for the entry

getKey

public String getKey()
Specified by:
getKey in interface Map.Entry<String,Object>

getValue

public Object getValue()
Specified by:
getValue in interface Map.Entry<String,Object>


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.