|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface DynamicProperty
A Dynamic class property getter interface.
| Method Summary | |
|---|---|
java.lang.Object
|
get(java.lang.Object object)
Call the getter on the given object |
java.lang.String
|
getPropertyName()
@return The name of the property |
boolean
|
isPropertyMatch(java.lang.String propertyName)
Whether the target class contains the specified property |
void
|
set(java.lang.Object object, java.lang.Object newValue)
Call the setter on the given object |
| Method Detail |
|---|
public java.lang.Object get(java.lang.Object object)
object - The target object
public java.lang.String getPropertyName()
public boolean isPropertyMatch(java.lang.String propertyName)
propertyName - The name of the property
public void set(java.lang.Object object, java.lang.Object newValue)
object - The target objectnewValue - The new value of the property
Groovy Documentation