Class ValidationResult

java.lang.Object
com.sas.lsaf.core.ValidationResult
All Implemented Interfaces:
Serializable

public class ValidationResult extends Object implements Serializable
The class that represents validation results from performing an import or export. The validation result includes errors, notes, or warnings.
Since:
2.4
See Also:
  • Constructor Details

    • ValidationResult

      public ValidationResult(List<ValidationMessage> errors, List<ValidationMessage> warnings, List<ValidationMessage> notes, String runBy, Date runDate)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the validation results returned by the API.
      Parameters:
      errors - The validation error messages generated by the validation.
      warnings - The validation warning messages generated by the validation.
      notes - The validation note messages generated by the validation.
      runBy - The user who performed the validation.
      runDate - The date when the validation was performed.
  • Method Details

    • getRunDate

      public Date getRunDate()
      Gets the date when the validation was performed.
      Returns:
      The date when the validation was performed.
    • getRunBy

      public String getRunBy()
      Gets the user who performed the validation.
      Returns:
      The user who performed the validation.
    • getErrors

      public List<ValidationMessage> getErrors()
      Gets the error information generated by the validation.
      Returns:
      The validation message generated by the validation.
    • getWarnings

      public List<ValidationMessage> getWarnings()
      Gets the warning information generated by the validation.
      Returns:
      The validation message generated by the validation.
    • getNotes

      public List<ValidationMessage> getNotes()
      Gets the note information generated by the validation.
      Returns:
      The validation message generated by the validation.
    • toString

      public String toString()
      Overrides:
      toString in class Object