MethodMetaProperty.GetBeanMethodMetaProperty, MethodMetaProperty.GetMethodMetaPropertypublic class MethodMetaProperty extends MetaProperty
| Modifier and Type | Class | 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 | Description |
|---|---|
MethodMetaProperty(String name,
MetaMethod method) |
| Modifier and Type | Method | 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()