it.biobytes.ammentos.validation
Class ValidationReport

java.lang.Object
  extended by it.biobytes.ammentos.validation.ValidationReport

public class ValidationReport
extends java.lang.Object

Contains results about a validation

Author:
davide

Constructor Summary
ValidationReport()
           
 
Method Summary
 void add(ValidationReport report)
          Adds a validation report to this one
 void addError(java.lang.String error)
          Adds an error report
 java.lang.String[] getErrors()
          Returns the list of the errors in the report
 boolean isEmpty()
          Tells if the report is empty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationReport

public ValidationReport()
Method Detail

addError

public void addError(java.lang.String error)
Adds an error report


getErrors

public java.lang.String[] getErrors()
Returns the list of the errors in the report


isEmpty

public boolean isEmpty()
Tells if the report is empty


add

public void add(ValidationReport report)
Adds a validation report to this one