2020-07-24 17:21:48 +02:00
|
|
|
|
2020-07-20 17:46:27 +02:00
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf.graph;
|
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.List;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-08-03 18:05:41 +02:00
|
|
|
/**
|
|
|
|
* This is the class representing the Project in the model used for the dumps of the whole graph. At the moment the dump
|
|
|
|
* of the Projects differs from the other dumps because we do not create relations between Funders (Organization) and
|
2020-08-19 11:47:17 +02:00
|
|
|
* Projects but we put the information about the Funder within the Project representation. We also removed the collected
|
|
|
|
* from element from the Project. No relation between the Project and the Datasource entity from which it is collected
|
|
|
|
* will be created. We will never create relations between Project and Datasource. In case some relation will be
|
|
|
|
* extracted from the Project they will refer the Funder and will be of type ( organization -> funds -> project, project
|
2020-08-24 17:04:59 +02:00
|
|
|
* -> isFundedBy -> organization) We also removed the duration parameter because the most of times it is set to 0. It
|
|
|
|
* extends eu.dnetlib.dhp.schema.dump.oaf.Project with the following parameters: - private String websiteurl to store
|
|
|
|
* the websiteurl of the project - private String startdate to store the start date - private String enddate to store
|
|
|
|
* the end date - private String callidentifier to store the call indentifier - private String keywords to store the
|
|
|
|
* keywords - private boolean openaccessmandateforpublications to store if the project must accomplish to the open
|
|
|
|
* access mandate for publications. This value will be set to true if one of the field in the project represented in the
|
|
|
|
* internal model is set to true - private boolean openaccessmandatefordataset to store if the project must accomplish
|
|
|
|
* to the open access mandate for dataset. It is set to the value in the corresponding filed of the project represented
|
|
|
|
* in the internal model - private List<String> subject to store the list of subjects of the project - private
|
|
|
|
* List<Funder> funding to store the list of funder of the project - private String summary to store the summary of the
|
|
|
|
* project - private Granted granted to store the granted amount - private List<Programme> programme to store the list
|
|
|
|
* of programmes the project is related to
|
2020-08-03 18:05:41 +02:00
|
|
|
*/
|
|
|
|
|
2020-08-19 11:47:17 +02:00
|
|
|
public class Project extends eu.dnetlib.dhp.schema.dump.oaf.Project {
|
2020-08-03 18:05:41 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private String websiteurl;
|
|
|
|
private String startdate;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private String enddate;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private String callidentifier;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private String keywords;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private boolean openaccessmandateforpublications;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private boolean openaccessmandatefordataset;
|
|
|
|
private List<String> subject;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private List<Funder> funding;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private String summary;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private Granted granted;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
private List<Programme> programme;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getWebsiteurl() {
|
|
|
|
return websiteurl;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setWebsiteurl(String websiteurl) {
|
|
|
|
this.websiteurl = websiteurl;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getStartdate() {
|
|
|
|
return startdate;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setStartdate(String startdate) {
|
|
|
|
this.startdate = startdate;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getEnddate() {
|
|
|
|
return enddate;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setEnddate(String enddate) {
|
|
|
|
this.enddate = enddate;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getCallidentifier() {
|
|
|
|
return callidentifier;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setCallidentifier(String callidentifier) {
|
|
|
|
this.callidentifier = callidentifier;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getKeywords() {
|
|
|
|
return keywords;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setKeywords(String keywords) {
|
|
|
|
this.keywords = keywords;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public boolean isOpenaccessmandateforpublications() {
|
|
|
|
return openaccessmandateforpublications;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setOpenaccessmandateforpublications(boolean openaccessmandateforpublications) {
|
|
|
|
this.openaccessmandateforpublications = openaccessmandateforpublications;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public boolean isOpenaccessmandatefordataset() {
|
|
|
|
return openaccessmandatefordataset;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setOpenaccessmandatefordataset(boolean openaccessmandatefordataset) {
|
|
|
|
this.openaccessmandatefordataset = openaccessmandatefordataset;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public List<String> getSubject() {
|
|
|
|
return subject;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setSubject(List<String> subject) {
|
|
|
|
this.subject = subject;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public List<Funder> getFunding() {
|
|
|
|
return funding;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setFunding(List<Funder> funding) {
|
|
|
|
this.funding = funding;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public String getSummary() {
|
|
|
|
return summary;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setSummary(String summary) {
|
|
|
|
this.summary = summary;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public Granted getGranted() {
|
|
|
|
return granted;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setGranted(Granted granted) {
|
|
|
|
this.granted = granted;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public List<Programme> getProgramme() {
|
|
|
|
return programme;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public void setProgramme(List<Programme> programme) {
|
|
|
|
this.programme = programme;
|
|
|
|
}
|
2020-07-20 18:54:17 +02:00
|
|
|
|
2020-07-20 17:46:27 +02:00
|
|
|
}
|