|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.property.DynamicPropertyGetterBase
com.espertech.esper.event.property.DynamicIndexedPropertyGetter
public class DynamicIndexedPropertyGetter
Getter for a dynamic indexed property (syntax field.indexed[0]?), using vanilla reflection.
Constructor Summary | |
---|---|
DynamicIndexedPropertyGetter(String fieldName,
int index)
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 com.espertech.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 com.espertech.esper.event.EventPropertyGetter |
---|
get, isExistsProperty |
Constructor Detail |
---|
public DynamicIndexedPropertyGetter(String fieldName, int index)
fieldName
- property nameindex
- index to get the element atMethod Detail |
---|
protected Method determineMethod(Class clazz)
DynamicPropertyGetterBase
determineMethod
in class DynamicPropertyGetterBase
clazz
- to search for a matching method
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
|
© 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 |