Top Description Fields Constructors Methods
groovy.lang

public Class MetaExpandoProperty

extends MetaProperty
Class Inheritance
Imports
java.util.Map.Entry

Represents a property in an Expando object

Field Summary

Modifier and TypeField and Description
pack-priv Object
Inherited from groovy.lang.MetaProperty:
namePROPERTY_SET_PREFIXtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the property of the given object
getProperty
(Object object)

Implements abstract groovy.lang.MetaProperty.getProperty.

public void
setProperty(Object
on which to set the property
object
,
Object
the new value of the property
newValue
)

Implements abstract groovy.lang.MetaProperty.setProperty.

Sets the property on the given object to the new value
Inherited from groovy.lang.MetaProperty:
getGetterNamegetModifiersgetNamegetSetterNamegetType

Field Detail

valueback to summary
pack-priv Object value

Constructor Detail

MetaExpandoPropertyback to summary
public MetaExpandoProperty(Map.Entry<K, V> entry)

Method Detail

getPropertyback to summary
public Object getProperty(Object object)

Implements abstract groovy.lang.MetaProperty.getProperty.

Returns:Object

the property of the given object

Exceptions
Exception:
if the property could not be evaluated
setPropertyback to summary
public void setProperty(Object object, Object newValue)

Implements abstract groovy.lang.MetaProperty.setProperty.

Sets the property on the given object to the new value

Parameters
object:Object

on which to set the property

newValue:Object

the new value of the property