Package com.bc.ceres.binding.accessors
Class MapEntryAccessor
- java.lang.Object
-
- com.bc.ceres.binding.accessors.MapEntryAccessor
-
- All Implemented Interfaces:
PropertyAccessor
public class MapEntryAccessor extends Object implements PropertyAccessor
ValueAccessor for values stored in aMap
.
-
-
Constructor Summary
Constructors Constructor Description MapEntryAccessor(Map<String,Object> map, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue()
The strategy to get a value.void
setValue(Object value)
The strategy to set a value.
-
-
-
Method Detail
-
getValue
public Object getValue()
The strategy to get a value.- Specified by:
getValue
in interfacePropertyAccessor
- Returns:
- The value got.
-
setValue
public void setValue(Object value)
The strategy to set a value.- Specified by:
setValue
in interfacePropertyAccessor
- Parameters:
value
- The value to be set.
-
-