OAG ids #34

Open
claudio.atzori wants to merge 1 commits from oag_ids into master
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;
/**
* Main entity identifier.
*/
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<StructuredProperty> pid;
@ -77,6 +95,30 @@ public abstract class OafEntity extends Oaf implements Serializable {
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() {
return originalId;
}