| Modifier and Type | Field and Description |
|---|---|
| private CachedField | |
| private MetaMethod | |
| private MetaMethod |
| Access | Constructor and Description |
|---|---|
| public | MetaBeanProperty(String name, Class<T> type, MetaMethod getter, MetaMethod setter)
Sole constructor setting name, type (class), getter and setter. |
| Modifier and Type | Method and Description |
|---|---|
| public CachedField | |
| public MetaMethod | |
| public int | Returns: the visibility modifier of the getter, the setter, or both depending on which existOverrides groovy. |
| public Object | Returns: the property of the given objectwhich to be got object)Implements abstract groovy. |
| public MetaMethod | |
| public void | |
| pack-priv void | setGetter(MetaMethod
The getter for this property getter)This is for MetaClass to patch up the object later when looking for get*() methods. |
| public void | setProperty(Object
on which to set the property object, Object the new value of the property newValue)Implements abstract groovy. |
| pack-priv void | setSetter(MetaMethod
The setter for this property setter)This is for MetaClass to patch up the object later when looking for set*() methods. |
| field | back to summary |
|---|---|
| private CachedField field | |
| getter | back to summary |
|---|---|
| private MetaMethod getter | |
| setter | back to summary |
|---|---|
| private MetaMethod setter | |
| MetaBeanProperty | back to summary |
|---|---|
| public MetaBeanProperty(String name, Class<T> type, MetaMethod getter, MetaMethod setter) Sole constructor setting name, type (class), getter and setter. | |
| getField | back to summary |
|---|---|
| public CachedField getField() Gets the field of this property
| |
| getGetter | back to summary |
|---|---|
| public MetaMethod getGetter() Get the getter method.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Overrides groovy. Gets the visibility modifiers for the property as defined by the getter and setter methods.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(Object object) Implements abstract groovy. Get the property of the given object.
| |
| getSetter | back to summary |
|---|---|
| public MetaMethod getSetter() Get the setter method.
| |
| setField | back to summary |
|---|---|
| public void setField(CachedField field) Sets the field of this property | |
| setGetter | back to summary |
|---|---|
| pack-priv void setGetter(MetaMethod getter) This is for MetaClass to patch up the object later when looking for get*() methods.
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(Object object, Object newValue) Implements abstract groovy. Set the property on the given object to the new value.
| |
| setSetter | back to summary |
|---|---|
| pack-priv void setSetter(MetaMethod setter) This is for MetaClass to patch up the object later when looking for set*() methods.
| |