public class MethodMetaProperty extends MetaProperty
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodMetaProperty.GetBeanMethodMetaProperty
Wrapper for a method realizing the property getter.
|
static class |
MethodMetaProperty.GetMethodMetaProperty
Wrapper for a method realizing the property get.
|
name, PROPERTY_SET_PREFIX, type| Constructor and Description |
|---|
MethodMetaProperty(String name,
MetaMethod method) |
| Modifier and Type | Method and Description |
|---|---|
MetaMethod |
getMetaMethod() |
Object |
getProperty(Object object) |
void |
setProperty(Object object,
Object newValue)
Sets the property on the given object to the new value
|
getGetterName, getModifiers, getName, getSetterName, getTypepublic MethodMetaProperty(String name, MetaMethod method)
public Object getProperty(Object object)
getProperty in class MetaPropertypublic void setProperty(Object object, Object newValue)
MetaPropertysetProperty in class MetaPropertyobject - on which to set the propertynewValue - the new value of the propertypublic MetaMethod getMetaMethod()