Package org.gbif.api.model.crawler
Class GenericValidationReport
- java.lang.Object
-
- org.gbif.api.model.crawler.GenericValidationReport
-
public class GenericValidationReport extends Object
A container class used to capture the information necessary for a generic validation report. This is written with the intention to capture the information about e.g. the sample core or the taxon core of a DwC-A. Generic validation includes information about the number of records checked, whether all records where checked (implementations often cannot check everything) and information about the validity of primary keys.
-
-
Constructor Summary
Constructors Constructor Description GenericValidationReport(int checkedRecords, boolean allRecordsChecked, List<String> duplicateIds, List<Integer> rowNumbersMissingId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetCheckedRecords()List<String>getDuplicateIds()StringgetInvalidationReason()List<Integer>getRowNumbersMissingId()inthashCode()booleanisAllRecordsChecked()booleanisValid()StringtoString()
-
-
-
Constructor Detail
-
GenericValidationReport
public GenericValidationReport(int checkedRecords, boolean allRecordsChecked, List<String> duplicateIds, List<Integer> rowNumbersMissingId)
-
-
Method Detail
-
getCheckedRecords
public int getCheckedRecords()
-
isAllRecordsChecked
public boolean isAllRecordsChecked()
-
getDuplicateIds
public List<String> getDuplicateIds()
-
getRowNumbersMissingId
public List<Integer> getRowNumbersMissingId()
-
getInvalidationReason
public String getInvalidationReason()
-
isValid
public boolean isValid()
-
-