public final class JsonGetterMapRuntimeKeyedSchema extends Object implements EventPropertyGetterMappedSPI
Constructor and Description |
---|
JsonGetterMapRuntimeKeyedSchema(JsonUnderlyingField 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 JsonGetterMapRuntimeKeyedSchema(JsonUnderlyingField 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.