org.codehaus.groovy.grails.validation.metaclass
[Java] Class ConstraintsDynamicProperty
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicProperty
org.codehaus.groovy.grails.validation.metaclass.ConstraintsDynamicProperty
public class ConstraintsDynamicProperty
extends AbstractDynamicProperty
Instead of returning the closure sets a new proxy meta class for the scope
of the call and invokes the closure itself which builds up a list of ConstrainedProperty instances.
- Authors:
- Graeme Rocher
Method Summary |
java.lang.Object
|
get(java.lang.Object object)
|
void
|
set(java.lang.Object object, java.lang.Object newValue)
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
-
ConstraintsDynamicProperty
public ConstraintsDynamicProperty(GrailsApplication application)
-
get
@Override
public java.lang.Object get(java.lang.Object object)
-
set
@Override
public void set(java.lang.Object object, java.lang.Object newValue)
-
Groovy Documentation