Class Validator.ValidateInfo

  • Enclosing class:
    Validator

    private static final class Validator.ValidateInfo
    extends java.lang.Object
    Internal class holding validation information.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String attribute
      Name of the attribute to look for.
      protected java.lang.String format
      Format of the attribute value, using Regex pattern syntax.
      protected boolean required
      Indicates if the attribute presence is required.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidateInfo​(java.lang.String attribute, boolean required, java.lang.String format)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • attribute

        protected java.lang.String attribute
        Name of the attribute to look for.
      • format

        protected java.lang.String format
        Format of the attribute value, using Regex pattern syntax.
      • required

        protected boolean required
        Indicates if the attribute presence is required.
    • Constructor Detail

      • ValidateInfo

        public ValidateInfo​(java.lang.String attribute,
                            boolean required,
                            java.lang.String format)
        Constructor.
        Parameters:
        attribute - Name of the attribute to look for.
        required - Indicates if the attribute presence is required.
        format - Format of the attribute value, using Regex pattern syntax.