[Java] Class MetaExpandoProperty
- groovy.lang.MetaExpandoProperty
 
Represents a property in an Expando object
| Fields inherited from class | Fields | 
|---|---|
class MetaProperty |  PROPERTY_SET_PREFIX, name, type |  
Properties Summary
| Type | Name and description | 
|---|---|
Object  |  
property |  
Constructor Summary
| Constructor and description | 
|---|
 MetaExpandoProperty
                                (Entry entry) |  
Methods Summary
| Type Params | Return Type | Name and description | 
|---|---|---|
Object |  
getProperty(Object object)@return the property of the given object  |  |
void |  
setProperty(Object object, Object newValue)Sets the property on the given object to the new value  |  
Inherited Methods Summary
| Methods inherited from class | Name | 
|---|---|
class MetaProperty |  getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty |  
Property Detail
Object property
Constructor Detail
public MetaExpandoProperty(Entry entry)
Method Detail
public Object getProperty(Object object)
- throws:
 - Exception if the property could not be evaluated
 
- Returns:
 - the property of the given object
 
public void setProperty(Object object, Object newValue)
Sets the property on the given object to the new value
- Parameters:
 - 
object- on which to set the property - 
newValue- the new value of the property 
    © 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
    https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/lang/MetaExpandoProperty.html