Package com.arms.egovframework.javaservice.treeframework.validation.custom.constraints

## Annotation Type Contained

-     @Target(FIELD)
      @Retention(RUNTIME)
      @Constraint(validatedBy=ContainedValidator.class)
      public @interface Contained

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `java.lang.Class<?>[]` | `groups` |
    `java.lang.String` | `message` |
    `java.lang.Class<? extends javax.validation.Payload>[]` | `payload` |
    `java.lang.String[]` | `values` |

- - ### Element Detail

    - #### message

          java.lang.String message

      Default:
        "The target field\'s mapping value is not contained in the given string array."

  - - #### values

          java.lang.String[] values

      Default:
        {}

  - - #### groups

          java.lang.Class<?>[] groups

      Default:
        {}

  - - #### payload

          java.lang.Class<? extends javax.validation.Payload>[] payload

      Default:
        {}