public interface IPropertyAccessor
dynamic expression
option enabled.
The implementation should be registered via RythmEngine.registerPropertyAccessor(IPropertyAccessor...)
API or via org.rythmengine.conf.RythmConfigurationKey#EXT_PROP_ACCESSOR
configuration
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(String name,
Object contextObj)
Retrieves the value of the property.
|
Class |
getTargetType()
Which type this property accessor can be applied
|
Object |
setProperty(String name,
Object contextObj,
Object value)
Sets the value of the property.
|
Class getTargetType()
Object getProperty(String name, Object contextObj)
name
- - the name of the property to be resolved.contextObj
- - the current context object.Object setProperty(String name, Object contextObj, Object value)
name
- - the name of the property to be resolved.contextObj
- - the current context object.value
- - the value to be set to the resolved propertyCopyright © 2015. All Rights Reserved.