added fields oagId, duplicateId, oagDuplicateId

This commit is contained in:
Claudio Atzori 2024-05-22 12:14:03 +02:00
parent 9eaad49a2e
commit bfe07f19db
1 changed files with 42 additions and 0 deletions

View File

@ -9,8 +9,26 @@ public abstract class OafEntity extends Oaf implements Serializable {
private static final long serialVersionUID = -7793594664115821897L; private static final long serialVersionUID = -7793594664115821897L;
/**
* Main entity identifier.
*/
private String id; private String id;
/**
* OpenAIRE Graph entity identifier. Introduced to experiment a different formatting from the main entity id.
*/
private String oagId;
/**
* List of main entity identifiers of the duplicate records identified by the deduplication process for this record.
*/
private List<String> duplicateId;
/**
* List of OpenAIRE Graph identifiers of the duplicate records identified by the deduplication process for this record.
*/
private List<String> oagDuplicateId;
private List<String> originalId; private List<String> originalId;
private List<StructuredProperty> pid; private List<StructuredProperty> pid;
@ -77,6 +95,30 @@ public abstract class OafEntity extends Oaf implements Serializable {
this.id = id; this.id = id;
} }
public String getOagId() {
return oagId;
}
public void setOagId(String oagId) {
this.oagId = oagId;
}
public List<String> getDuplicateId() {
return duplicateId;
}
public void setDuplicateId(List<String> duplicateId) {
this.duplicateId = duplicateId;
}
public List<String> getOagDuplicateId() {
return oagDuplicateId;
}
public void setOagDuplicateId(List<String> oagDuplicateId) {
this.oagDuplicateId = oagDuplicateId;
}
public List<String> getOriginalId() { public List<String> getOriginalId() {
return originalId; return originalId;
} }