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