| 
Groovy 1.8.5 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.lang.MetaProperty
groovy.lang.MetaBeanProperty
public class MetaBeanProperty extends MetaProperty
Represents a property on a bean which may have a getter and/or a setter
| Field Summary | 
|---|
| Fields inherited from class MetaProperty | |
|---|---|
| PROPERTY_SET_PREFIX, name, type | 
| Constructor Summary | |
            MetaBeanProperty(String name, Class type, MetaMethod getter, MetaMethod setter)
             | 
        |
| Method Summary | |
|---|---|
            CachedField
         | 
        
            getField()
             | 
        
            MetaMethod
         | 
        
            getGetter()
            Get the getter method.  | 
        
            int
         | 
        
            getModifiers()
             | 
        
            Object
         | 
        
            getProperty(Object object)
            Get the property of the given object.  | 
        
            MetaMethod
         | 
        
            getSetter()
            Get the setter method.  | 
        
            void
         | 
        
            setField(CachedField f)
             | 
        
            void
         | 
        
            setProperty(Object object, Object newValue)
            Set the property on the given object to the new value.  | 
        
| Methods inherited from class MetaProperty | |
|---|---|
| getGetterName, getModifiers, getName, getProperty, getSetterName, getType, setProperty | 
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll | 
| Constructor Detail | 
|---|
public MetaBeanProperty(String name, Class type, MetaMethod getter, MetaMethod setter)
| Method Detail | 
|---|
public CachedField getField()
public MetaMethod getGetter()
public int getModifiers()
public Object getProperty(Object object)
object -  which to be got
public MetaMethod getSetter()
public void setField(CachedField f)
public void setProperty(Object object, Object newValue)
object -    on which to set the propertynewValue -  the new value of the property
Copyright © 2003-2011 The Codehaus. All rights reserved.