| java.lang.Object groovy.lang.MetaProperty groovy.lang.MetaBeanProperty
MetaBeanProperty | public class MetaBeanProperty extends MetaProperty (Code) | | Represents a property on a bean which may have a getter and/or a setter
author: James Strachan author: Pilho Kim version: $Revision: 4445 $ |
getModifiers | public int getModifiers()(Code) | | |
getProperty | public Object getProperty(Object object)(Code) | | Get the property of the given object.
Parameters: object - which to be got the property of the given object throws: Exception - if the property could not be evaluated |
setGetter | void setGetter(MetaMethod getter)(Code) | | This is for MetaClass to patch up the object later when looking for get*() methods.
|
setProperty | public void setProperty(Object object, Object newValue)(Code) | | Set the property on the given object to the new value.
Parameters: object - on which to set the property Parameters: newValue - the new value of the property throws: RuntimeException - if the property could not be set |
setSetter | void setSetter(MetaMethod setter)(Code) | | This is for MetaClass to patch up the object later when looking for set*() methods.
|
|
|