public interface DynamicObject
BeanDynamicObject
provides a dynamic view of the functionality of an object and does not provide any decoration or extra functionality.
The ExtensibleDynamicObject implementation on the other hand does provide extra functionality.| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
getProperties() |
Object |
getProperty(String name) |
boolean |
hasMethod(String name,
Object... arguments) |
boolean |
hasProperty(String name) |
Object |
invokeMethod(String name,
Object... arguments) |
void |
setProperty(String name,
Object value) |
boolean hasProperty(String name)
Object getProperty(String name) throws MissingPropertyException
MissingPropertyExceptionvoid setProperty(String name, Object value) throws MissingPropertyException
MissingPropertyExceptionObject invokeMethod(String name, Object... arguments) throws MissingMethodException
MissingMethodExceptionCopyright © 2013. All rights reserved