public final class JsonGetterMapRuntimeKeyedProvided extends Object implements EventPropertyGetterMappedSPI
Constructor and Description |
---|
JsonGetterMapRuntimeKeyedProvided(Field field) |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
eventBeanGetMappedCodegen(CodegenMethodScope codegenMethodScope,
CodegenClassScope codegenClassScope,
CodegenExpression beanExpression,
CodegenExpression key) |
Object |
get(EventBean eventBean,
String mapKey)
Return the value for the property in the event object specified when the instance was obtained.
|
public JsonGetterMapRuntimeKeyedProvided(Field field)
public CodegenExpression eventBeanGetMappedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key)
eventBeanGetMappedCodegen
in interface EventPropertyGetterMappedSPI
public Object get(EventBean eventBean, String mapKey) throws PropertyAccessException
EventPropertyGetterMapped
get
in interface EventPropertyGetterMapped
eventBean
- is the event to get the value of a property frommapKey
- the map key valuePropertyAccessException
- to indicate that property access failedCopyright © 2005–2021. All rights reserved.