org.milyn.javabean.binding.model.get
Class MapGetter<T extends Map>

java.lang.Object
  extended by org.milyn.javabean.binding.model.get.MapGetter<T>
All Implemented Interfaces:
Getter<T>

public class MapGetter<T extends Map>
extends Object
implements Getter<T>

Map getter.

Allows Maps to be used as a node in an object graph. Allows support for Virtual Object Models etc.

Author:
tom.fennelly@gmail.com

Constructor Summary
MapGetter(String property)
           
 
Method Summary
 Object get(T contextObject)
          Get a value from the supplied context object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapGetter

public MapGetter(String property)
Method Detail

get

public Object get(T contextObject)
Description copied from interface: Getter
Get a value from the supplied context object.

Specified by:
get in interface Getter<T extends Map>
Parameters:
contextObject - The context object from which the get operation is to be applied.
Returns:
The value returned from the get invocation.


Copyright © 2018. All rights reserved.