java.lang.Object
ch.tocco.nice2.entityoperation.impl.action.Line

public final class Line extends Object
Represents a line in the csv file that is to import. Importing one line may result in adding multiple entities. Those entities are tracked in the `entities` set together with potential failures.
  • Field Details

    • data

      public final org.apache.poi.ss.usermodel.Row data
    • lineno

      public final int lineno
  • Method Details

    • getEntitiesContext

      public ch.tocco.nice2.entityoperation.impl.action.PileImportTask.ImportedEntitiesContext getEntitiesContext()
    • getValueAt

      public org.apache.poi.ss.usermodel.Cell getValueAt(int i)
    • markImportFailed

      public boolean markImportFailed(CompleteEntityValidationResult result)
    • isSkipped

      public boolean isSkipped()
    • setSkipped

      public void setSkipped(boolean skipped)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object