2021-04-23 12:15:36 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2021-11-18 11:01:44 +01:00
|
|
|
import com.github.imifou.jsonschema.module.addon.annotation.JsonSchema;
|
|
|
|
|
2021-04-23 12:15:36 +02:00
|
|
|
/**
|
|
|
|
* This class to store the common information about the project that will be dumped for community and for the whole
|
|
|
|
* graph - private String id to store the id of the project (OpenAIRE id) - private String code to store the grant
|
|
|
|
* agreement of the project - private String acronym to store the acronym of the project - private String title to store
|
|
|
|
* the tile of the project
|
|
|
|
*/
|
|
|
|
public class Project implements Serializable {
|
2021-11-18 10:36:00 +01:00
|
|
|
@JsonSchema(description = "The OpenAIRE id for the project")
|
2021-04-23 12:15:36 +02:00
|
|
|
protected String id;// OpenAIRE id
|
2021-11-18 10:36:00 +01:00
|
|
|
|
|
|
|
@JsonSchema(description = "The grant agreement number")
|
2021-04-23 12:15:36 +02:00
|
|
|
protected String code;
|
|
|
|
|
2021-11-18 10:36:00 +01:00
|
|
|
@JsonSchema(description = "The acronym of the project")
|
2021-04-23 12:15:36 +02:00
|
|
|
protected String acronym;
|
|
|
|
|
|
|
|
protected String title;
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
this.id = id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
return code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAcronym() {
|
|
|
|
return acronym;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAcronym(String acronym) {
|
|
|
|
this.acronym = acronym;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTitle() {
|
|
|
|
return title;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTitle(String title) {
|
|
|
|
this.title = title;
|
|
|
|
}
|
|
|
|
}
|