public class MultipleSetterProperty
extends MetaProperty
This class represents a property with multiple setters. Unlike a MetaBeanProperty you cannot get the setter in this case. Instead invocation is done through the metaclass of the property receiver.
| Fields inherited from class | Fields |
|---|---|
class MetaProperty |
PROPERTY_SET_PREFIX, name, type |
| Constructor and description |
|---|
MultipleSetterProperty(String name)Constructs a new MultipleSetterProperty. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public MetaProperty |
createStaticVersion()Creates a static version of this property. |
|
public CachedField |
getField()Gets the cached field for this property. |
|
public MetaMethod |
getGetter()Gets the getter method for this property. |
|
public Object |
getProperty(Object object) |
|
public void |
setField(CachedField f)Sets the cached field for this property. |
|
public void |
setGetter(MetaMethod getter)Sets the getter method for this property. |
|
public void |
setProperty(Object object, Object newValue) |
| Methods inherited from class | Name |
|---|---|
class MetaProperty |
getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty |
Constructs a new MultipleSetterProperty.
name - the property nameCreates a static version of this property. Returns null if both the field and getter are instance methods.
Gets the cached field for this property.
Gets the getter method for this property.
Sets the cached field for this property.
f - the cached fieldSets the getter method for this property.
getter - the getter metamethodCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.