Class Validator.Report

  • Enclosing class:
    Validator

    public static class Validator.Report
    extends java.lang.Object
    A validation report
    • Constructor Summary

      Constructors 
      Constructor Description
      Report()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.HashMap<java.lang.String,​java.lang.String> getErrors()  
      boolean isValid()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Report

        public Report()
    • Method Detail

      • getErrors

        public java.util.HashMap<java.lang.String,​java.lang.String> getErrors()
        Returns:
        a map of errors, keyed by property name.
      • isValid

        public boolean isValid()
        Returns:
        true if all property values were valid
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object