changed originalId to acronym

This commit is contained in:
Miriam Baglioni 2021-05-20 11:09:44 +02:00
parent f613f4cc1a
commit 627b57575e
1 changed files with 7 additions and 7 deletions

View File

@ -7,8 +7,8 @@ import java.io.Serializable;
* To represent entity of type RC/RI. It has the following parameters, which are mostly derived by the profile * To represent entity of type RC/RI. It has the following parameters, which are mostly derived by the profile
* - private * - private
* String id to store the openaire id for the entity. Is has as code 00 and will be created as * String id to store the openaire id for the entity. Is has as code 00 and will be created as
* 00|context_____::md5(originalId) private * 00|context_____::md5(acronym) private
* String originalId to store the id of the context as provided in the profile * String acronym to store the id of the context as provided in the profile
* (i.e. mes) * (i.e. mes)
* - private String name to store the name of the context (got from the label attribute in the context * - private String name to store the name of the context (got from the label attribute in the context
* definition) * definition)
@ -19,7 +19,7 @@ import java.io.Serializable;
*/ */
public class ResearchInitiative implements Serializable { public class ResearchInitiative implements Serializable {
private String id; // openaireId private String id; // openaireId
private String originalId; // context id private String acronym; // context id
private String name; // context name private String name; // context name
private String type; // context type: research initiative or research community private String type; // context type: research initiative or research community
private String description; private String description;
@ -57,12 +57,12 @@ public class ResearchInitiative implements Serializable {
this.name = label; this.name = label;
} }
public String getOriginalId() { public String getAcronym() {
return originalId; return acronym;
} }
public void setOriginalId(String originalId) { public void setAcronym(String acronym) {
this.originalId = originalId; this.acronym = acronym;
} }
public String getDescription() { public String getDescription() {