solr json payload model #30
|
@ -19,11 +19,14 @@ public class SolrRecordHeader implements Serializable {
|
||||||
|
|
||||||
private RecordType recordType;
|
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();
|
SolrRecordHeader header = new SolrRecordHeader();
|
||||||
header.setId(id);
|
header.setId(id);
|
||||||
header.setOriginalId(originalId);
|
header.setOriginalId(originalId);
|
||||||
header.setRecordType(recordType);
|
header.setRecordType(recordType);
|
||||||
|
header.setDeletedbyinference(deletedbyinference);
|
||||||
return header;
|
return header;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,4 +53,12 @@ public class SolrRecordHeader implements Serializable {
|
||||||
public void setRecordType(RecordType recordType) {
|
public void setRecordType(RecordType recordType) {
|
||||||
this.recordType = recordType;
|
this.recordType = recordType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getDeletedbyinference() {
|
||||||
|
return deletedbyinference;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeletedbyinference(Boolean deletedbyinference) {
|
||||||
|
this.deletedbyinference = deletedbyinference;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue