Annotation Type Pattern

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String regexp
      Returns the regular expression to match.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Pattern.Flag[] flags
      Returns the array of Flags considered when resolving the regular expression.
      boolean off
      Allows disabling the validation rule if this rule is inherited from super class.
    • Element Detail

      • regexp

        String regexp
        Returns the regular expression to match.
        Returns:
        the regular expression to match
      • off

        boolean off
        Allows disabling the validation rule if this rule is inherited from super class.

        By default, disable is off.

        Returns:
        true if the validation must be disabled.
        Default:
        false
      • flags

        Pattern.Flag[] flags
        Returns the array of Flags considered when resolving the regular expression.
        Returns:
        the array of Flags considered when resolving the regular expression
        Default:
        {}