public abstract class MetaProperty extends Object
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 |
---|---|---|
|
public static String |
getGetterName(String propertyName, Class type) Gets the name for the getter for this property |
|
public int |
getModifiers() Returns the access modifier. |
|
public String |
getName() Return the name of the property |
|
public abstract Object |
getProperty(Object object)
|
|
public static String |
getSetterName(String propertyName) Gets the setter for the getter for this property. |
|
public Class |
getType()
|
|
public abstract 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-2021 The Apache Software Foundation. All rights reserved.