public class MetaBeanProperty extends MetaProperty
Represents a property on a bean which may have a getter and/or a setter
Fields inherited from class | Fields |
---|---|
class MetaProperty |
PROPERTY_SET_PREFIX, name, type |
Constructor and description |
---|
MetaBeanProperty(String name, Class type, MetaMethod getter, MetaMethod setter) |
Type Params | Return Type | Name and description |
---|---|---|
|
public CachedField |
getField() Gets the field of this property. |
|
public MetaMethod |
getGetter() Gets the getter method of this property. |
|
public int |
getModifiers() Gets the visibility modifiers of the property as defined by the getter, setter and field. |
|
public Object |
getProperty(Object object) Gets the property of the given object. |
|
public MetaMethod |
getSetter() Gets the setter method of this property. |
|
public void |
setField(CachedField field) Sets the field of this property. |
|
public void |
setProperty(Object object, Object newValue) Sets the property on the given object to the new value. |
Methods inherited from class | Name |
---|---|
class MetaProperty |
getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty |
Gets the field of this property.
Gets the getter method of this property.
Gets the visibility modifiers of the property as defined by the getter, setter and field.
Gets the property of the given object.
object
- which to be gotGets the setter method of this property.
Sets the field of this property.
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.