Class AppointmentValidationError

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.importer.business.AppointmentValidationError
All Implemented Interfaces:
Serializable

public final class AppointmentValidationError extends Object implements Serializable
Describes one user-facing workbook validation error.
See Also:
  • Method Details

    • row

      public static AppointmentValidationError row(int lineNumber, String field, String message)
      Creates a row-level error (a specific data cell is invalid).
      Parameters:
      lineNumber - 1-based row number in the source Excel file
      field - column header identifying the invalid cell
      message - localized description of the problem
    • workbook

      public static AppointmentValidationError workbook(String field, String message)
      Creates a workbook-level error (structure problem not tied to a specific row, e.g. a missing mandatory column or an unreadable file).
      Parameters:
      field - column header or workbook-level label identifying the problem area
      message - localized description of the problem
    • getLineNumber

      public Integer getLineNumber()
    • getField

      public String getField()
    • getMessage

      public String getMessage()