public abstract class MetaProperty extends Object implements MetaMember
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 modifiers. |
|
public String |
getName () Returns 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 () Returns the ntypeame of the property. |
|
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 modifiers.
Returns the name of the property.
Gets the setter for the getter for this property.
Returns the ntypeame of the property.
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.