Class TableContentProblem


public class TableContentProblem
extends ContentProblem
Class that stores information about an error that has occurred during table content validation.
Author:
mcayanan
  • Constructor Details

    • TableContentProblem

      public TableContentProblem​(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, int table, int record, int field)
      Constructor.
      Parameters:
      exceptionType - The severity level.
      problemType - The problem type.
      message - The problem message.
      source - The data file url of the exception.
      label - The associated label url of the exception.
      table - The index of the table associated with the message.
      record - The index of the record associated with the message.
      field - The index of the field associated with the message.
    • TableContentProblem

      public TableContentProblem​(ProblemDefinition defn, URL source, URL label, int table, int record, int field)
      Constructor.
      Parameters:
      defn - The problem definition.
      source - The data file url of the exception.
      label - The associated label url of the exception.
      table - The index of the table associated with the message.
      record - The index of the record associated with the message.
      field - The index of the field associated with the message.
    • TableContentProblem

      public TableContentProblem​(ProblemDefinition defn, URL source, URL label, Integer table, Integer record)
      Constructor.
      Parameters:
      defn - The problem definition.
      source - The data file url of the exception.
      label - The associated label url of the exception.
      table - The index of the table associated with the message.
      record - The index of the record associated with the message.
    • TableContentProblem

      public TableContentProblem​(ProblemDefinition defn, URL source)
      Constructor.
      Parameters:
      defn - The problem definition.
      source - The data file url of the exception.
  • Method Details

    • getTable

      public Integer getTable()
      Returns:
      the table index.
    • getRecord

      public Integer getRecord()
      Returns:
      the record index.
    • getField

      public Integer getField()
      Returns:
      the field index.