|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.commons.metaclass.AbstractDynamicProperty
org.codehaus.groovy.grails.web.metaclass.SetPropertiesDynamicProperty
public class SetPropertiesDynamicProperty
A dynamic property that uses a Map of OGNL expressions to sets properties on the target object
Constructor Summary | |
---|---|
SetPropertiesDynamicProperty()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Object object)
Call the getter on the given object |
void |
set(java.lang.Object object,
java.lang.Object newValue)
Sets the property on the specified object with the specified value. |
Methods inherited from class org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicProperty |
---|
getPropertyName, isPropertyMatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetPropertiesDynamicProperty()
Method Detail |
---|
public java.lang.Object get(java.lang.Object object)
DynamicProperty
get
in interface DynamicProperty
get
in class AbstractDynamicProperty
object
- The target object
public void set(java.lang.Object object, java.lang.Object newValue)
set
in interface DynamicProperty
set
in class AbstractDynamicProperty
object
- The target objectnewValue
- The value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |