Annotation Interface RegExp


@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=RegExpValidator.class) @Documented public @interface RegExp
The annotated element must be correct regular expression
  • Element Details

    • message

      String message
      Default:
      "{de.hybris.platform.validation.annotations.RegExp.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends javax.validation.Payload>[] payload
      Default:
      {}
    • notEmpty

      boolean notEmpty
      Default:
      false