org.milyn.javabean.binding.model.get
Class ConstantGetter

java.lang.Object
  extended by org.milyn.javabean.binding.model.get.ConstantGetter
All Implemented Interfaces:
Getter

public class ConstantGetter
extends Object
implements Getter

Constant value getter.

Author:
tom.fennelly@gmail.com

Constructor Summary
ConstantGetter(String value)
           
 
Method Summary
 Object get(Object 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

ConstantGetter

public ConstantGetter(String value)
Method Detail

get

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

Specified by:
get in interface Getter
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.