Package com.sas.lsaf.core
Class ValidationResult
java.lang.Object
com.sas.lsaf.core.ValidationResult
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionValidationResult(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. -
Method Summary
Modifier and TypeMethodDescriptionGets the error information generated by the validation.getNotes()Gets the note information generated by the validation.getRunBy()Gets the user who performed the validation.Gets the date when the validation was performed.Gets the warning information generated by the validation.toString()
-
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
Gets the date when the validation was performed.- Returns:
- The date when the validation was performed.
-
getRunBy
Gets the user who performed the validation.- Returns:
- The user who performed the validation.
-
getErrors
Gets the error information generated by the validation.- Returns:
- The validation message generated by the validation.
-
getWarnings
Gets the warning information generated by the validation.- Returns:
- The validation message generated by the validation.
-
getNotes
Gets the note information generated by the validation.- Returns:
- The validation message generated by the validation.
-
toString
-