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 | 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) @return the property of the given object |
static String |
getSetterName(String propertyName) Gets the setter for the getter for this property. |
Class |
getType() @return the type of the property |
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-2014 The Codehaus. All rights reserved.