|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.property.DynamicPropertyGetterBase
net.esper.event.property.DynamicSimplePropertyGetter
public class DynamicSimplePropertyGetter
Getter for a dynamic property (syntax field.inner?), using vanilla reflection.
Constructor Summary | |
---|---|
DynamicSimplePropertyGetter(String fieldName)
Ctor. |
Method Summary | |
---|---|
protected Object |
call(DynamicPropertyDescriptor descriptor,
Object underlying)
Call the getter to obtains the return result object, or null if no such method exists. |
protected Method |
determineMethod(Class clazz)
To be implemented to return the method required, or null to indicate an appropriate method could not be found. |
Methods inherited from class net.esper.event.property.DynamicPropertyGetterBase |
---|
get, isExistsProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.esper.event.EventPropertyGetter |
---|
get, isExistsProperty |
Constructor Detail |
---|
public DynamicSimplePropertyGetter(String fieldName)
fieldName
- the property nameMethod Detail |
---|
protected Object call(DynamicPropertyDescriptor descriptor, Object underlying)
DynamicPropertyGetterBase
call
in class DynamicPropertyGetterBase
descriptor
- provides method information for the classunderlying
- is the underlying object to ask for the property value
protected Method determineMethod(Class clazz)
DynamicPropertyGetterBase
determineMethod
in class DynamicPropertyGetterBase
clazz
- to search for a matching method
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |