groovy.lang
Class MetaArrayLengthProperty
java.lang.Object
groovy.lang.MetaProperty
groovy.lang.MetaArrayLengthProperty
class MetaArrayLengthProperty
extends MetaProperty
Represents a property on a bean which may have a getter and/or a setter
- author:
- James Strachan
- version:
- $Revision: 11944 $
Methods inherited from class Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
MetaArrayLengthProperty
public MetaArrayLengthProperty()
-
getProperty
public Object getProperty(Object object)
-
- return:
- the property of the given object
- throws:
- Exception if the property could not be evaluated
setProperty
public void setProperty(Object object, Object newValue)
- Sets the property on the given object to the new value
- param:
- object on which to set the property
- param:
- newValue the new value of the property
- throws:
- RuntimeException if the property could not be set
Copyright © 2003-2009 The Codehaus. All rights reserved.