Package com.sas.lsaf.core
Class ValidationMessage
java.lang.Object
com.sas.lsaf.core.ValidationMessage
- All Implemented Interfaces:
Serializable
The class that represents validation information from a finding generated while performing an operation such as
import or export.
- Since:
- 2.4
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe possible values of validation message severity. -
Constructor Summary
ConstructorsConstructorDescriptionValidationMessage(String problem, ValidationMessage.Severity severity, String columnName, int rowNumber) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the column name, if applicable, associated with validation finding.Gets the message for the validation finding.intGets the row number, if applicable, associated with validation finding.Gets the severity of the validation finding.toString()
-
Constructor Details
-
ValidationMessage
public ValidationMessage(String problem, ValidationMessage.Severity severity, String columnName, int rowNumber) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the validation messages returned by the API.- Parameters:
problem-severity-columnName-rowNumber-
-
-
Method Details
-
getProblem
Gets the message for the validation finding.- Returns:
- The message for the validation finding.
-
getSeverity
Gets the severity of the validation finding.- Returns:
- The severity of the validation finding.
-
getColumnName
Gets the column name, if applicable, associated with validation finding. For example, a data set column name if importing from a data set.- Returns:
- The column name, if applicable, associated with validation finding.
-
getRowNumber
public int getRowNumber()Gets the row number, if applicable, associated with validation finding. For example, a data set row number if importing from a data set.- Returns:
- The row number, if applicable, associated with validation finding.
-
toString
-