WIP: included deletedbyinference flag

This commit is contained in:
Claudio Atzori 2024-03-12 09:55:21 +01:00
parent b0eec2e5bb
commit 04654b16f9
1 changed files with 12 additions and 1 deletions

View File

@ -19,11 +19,14 @@ public class SolrRecordHeader implements Serializable {
private RecordType recordType;
public static SolrRecordHeader newInstance(String id, List<String> originalId, RecordType recordType) {
private Boolean deletedbyinference;
public static SolrRecordHeader newInstance(String id, List<String> originalId, RecordType recordType, Boolean deletedbyinference) {
SolrRecordHeader header = new SolrRecordHeader();
header.setId(id);
header.setOriginalId(originalId);
header.setRecordType(recordType);
header.setDeletedbyinference(deletedbyinference);
return header;
}
@ -50,4 +53,12 @@ public class SolrRecordHeader implements Serializable {
public void setRecordType(RecordType recordType) {
this.recordType = recordType;
}
public Boolean getDeletedbyinference() {
return deletedbyinference;
}
public void setDeletedbyinference(Boolean deletedbyinference) {
this.deletedbyinference = deletedbyinference;
}
}