|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface ConstraintsEvaluator
Evaluates and returns constraints.
Field Summary | |
---|---|
java.lang.String |
BEAN_NAME
|
java.lang.String |
CONSTRAINTS_GROOVY_SCRIPT
|
java.lang.String |
PROPERTY_NAME
|
Method Summary | |
---|---|
java.util.Map
|
evaluate(java.lang.Class cls)
Evaluate constraints for the given class |
java.util.Map
|
evaluate(GrailsDomainClass cls)
Evaluate constraints for the given class |
java.util.Map
|
evaluate(java.lang.Object object, GrailsDomainClassProperty[] properties)
Evaluate constraints for the given object and properties |
java.util.Map
|
evaluate(java.lang.Class cls, GrailsDomainClassProperty[] properties)
Evaluate constraints for the given Class and properties |
java.util.Map
|
getDefaultConstraints()
The default constraints to use |
Field Detail |
---|
public java.lang.String BEAN_NAME
public java.lang.String CONSTRAINTS_GROOVY_SCRIPT
public java.lang.String PROPERTY_NAME
Method Detail |
---|
public java.util.Map evaluate(@SuppressWarnings("rawtypes") java.lang.Class cls)
cls
- The class to evaluate constraints for
public java.util.Map evaluate(GrailsDomainClass cls)
cls
- The class to evaluate constraints for
public java.util.Map evaluate(java.lang.Object object, GrailsDomainClassProperty[] properties)
object
- The objectproperties
- The domain class properties
public java.util.Map evaluate(java.lang.Class cls, GrailsDomainClassProperty[] properties)
cls
- The objectproperties
- The domain class properties
public java.util.Map getDefaultConstraints()
Groovy Documentation