com.holonplatform.core.beans

## Annotation Type ValidationMessage

-     @Retention(value=RUNTIME)
       @Target(value=FIELD)
       @Documented
       @Inherited
      public @interface ValidationMessage

  Annotation which can be used in conjunction with standard Java bean validation API constraint annotations to specify the localizable validation error message using a default message and a localization message code.
  Since:
    5.0.0

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `message` Get the message to use as validation error when validation fails.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `messageCode` Get the optional validation error message localization code.

- - ### Element Detail

    - #### message

          public abstract String message

      Get the message to use as validation error when validation fails.
      Returns:
        Validation error message

  - - #### messageCode

          public abstract String messageCode

      Get the optional validation error message localization code.
      Returns:
        Validation error message localization code
      Default:
        ""

Copyright © 2017 The Holon Platform. All rights reserved.