org.milyn.javabean.binding.model.get
Class BeanGetter<T>
java.lang.Object
org.milyn.javabean.binding.model.get.BeanGetter<T>
- All Implemented Interfaces:
- Getter<T>
public class BeanGetter<T>
- extends Object
- implements Getter<T>
Bean getter method.
- Author:
- tom.fennelly@gmail.com
|
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 |
BeanGetter
public BeanGetter(Class<?> beanClass,
String property)
get
public Object get(T contextObject)
throws BeanSerializationException
- Description copied from interface:
Getter
- Get a value from the supplied context object.
- Specified by:
get in interface Getter<T>
- Parameters:
contextObject - The context object from which the get operation is to be applied.
- Returns:
- The value returned from the get invocation.
- Throws:
BeanSerializationException - Exception applying get operation on the context object instance.
Copyright © 2018. All rights reserved.