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

Package: org.grails.databinding

## [Groovy] Annotation Type BindingFormat

- org.grails.databinding.BindingFormat

- Apply BindingFormat to a field to provide a format to be used when binding a String to this field.

      class DateContainer {
          @BindingFormat('MMddyyyy')
          Date someDate
      }

  deprecated:
    Use BindingFormat
  Authors:
    Jeff Brown
  Since:
    2.3

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `java.lang.String` | `code()` @default ""
    `java.lang.String` | `value()` @default ""

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()`

- - ### Method Detail

    - #### java.lang.String code()

      @default ""

    - #### java.lang.String value()

      @default ""