Class ValidationMessage

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

public class ValidationMessage extends Object implements 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:
  • 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

      public String getProblem()
      Gets the message for the validation finding.
      Returns:
      The message for the validation finding.
    • getSeverity

      public ValidationMessage.Severity getSeverity()
      Gets the severity of the validation finding.
      Returns:
      The severity of the validation finding.
    • getColumnName

      public String 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

      public String toString()
      Overrides:
      toString in class Object