Validateable (Grails 3.1.1)
Date: 2016-02-04

Package: grails.validation

## [Groovy] Trait Validateable

- grails.validation.Validateable

- A trait that can be applied to make any object Validateable

  Authors:
    Jeff Brown
    Graeme Rocher
  Since:
    3.0

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `org.springframework.validation.Errors` | `errors`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `clearErrors()`
    `static boolean` | `defaultNullable()`
    `static java.util.Map<java.lang.String, ConstrainedProperty>` | `getConstraintsMap()`
    `org.springframework.validation.Errors` | `getErrors()`
    `java.lang.Boolean` | `hasErrors()`
    `static boolean` | `isPropertyGetter(java.lang.reflect.Method method)` Public, non-static getters without parameters should be considered validateable properties
    `boolean` | `validate()`
    `boolean` | `validate(java.util.List fieldsToValidate)`

- - ### Property Detail

    - #### org.springframework.validation.Errors errors

  - ### Method Detail

    - #### void clearErrors()

    - #### static boolean defaultNullable()

    - #### static java.util.Map<java.lang.String, ConstrainedProperty> getConstraintsMap()

    - #### org.springframework.validation.Errors getErrors()

    - #### java.lang.Boolean hasErrors()

    - #### static boolean isPropertyGetter(java.lang.reflect.Method method)

      Public, non-static getters without parameters should be considered validateable properties

      Returns:
        if given object method should be considered property getter and validateable object

    - #### boolean validate()

    - #### boolean validate(java.util.List fieldsToValidate)