public class WrapperGetterIndexed extends Object implements EventPropertyGetterIndexedSPI
Constructor and Description |
---|
WrapperGetterIndexed(EventPropertyGetterIndexedSPI undIndexed) |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope,
CodegenClassScope codegenClassScope,
CodegenExpression beanExpression,
CodegenExpression key) |
Object |
get(EventBean event,
int index)
Return the value for the property in the event object specified when the instance was obtained.
|
public WrapperGetterIndexed(EventPropertyGetterIndexedSPI undIndexed)
public Object get(EventBean event, int index) throws PropertyAccessException
EventPropertyGetterIndexed
get
in interface EventPropertyGetterIndexed
event
- is the event to get the value of a property fromindex
- the index valuePropertyAccessException
- to indicate that property access failedpublic CodegenExpression eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key)
eventBeanGetIndexedCodegen
in interface EventPropertyGetterIndexedSPI
Copyright © 2005–2018. All rights reserved.