Represents a property on a bean which may have a getter and/or a setter
Constructor and description |
---|
MetaProperty
(String name, Class type) Constructor that sets the property name and type (class) |
Type Params | Return Type | Name and description |
---|---|---|
|
static String |
getGetterName(String propertyName, Class type) Gets the name for the getter for this property |
|
int |
getModifiers() Returns the access modifier. |
|
String |
getName() Return the name of the property |
|
Object |
getProperty(Object object)
|
|
static String |
getSetterName(String propertyName) Gets the setter for the getter for this property. |
|
Class |
getType()
|
|
void |
setProperty(Object object, Object newValue) Sets the property on the given object to the new value |
Gets the name for the getter for this property
Returns the access modifier.
Return the name of the property
Gets the setter for the getter for this property.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.