package eu.dnetlib.dhp.schema.dump.oaf.graph; import java.io.Serializable; import java.util.List; import eu.dnetlib.dhp.schema.dump.oaf.KeyValue; /** * 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 * 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 * -> 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 subject to store the list of subjects of the project - private List 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 to store the list of programmes the project is related to */ public class Project extends eu.dnetlib.dhp.schema.dump.oaf.Project { private String websiteurl; private String startdate; private String enddate; private String callidentifier; private String keywords; private boolean openaccessmandateforpublications; private boolean openaccessmandatefordataset; private List subject; private List funding; private String summary; private Granted granted; private List programme; public String getWebsiteurl() { return websiteurl; } public void setWebsiteurl(String websiteurl) { this.websiteurl = websiteurl; } public String getStartdate() { return startdate; } public void setStartdate(String startdate) { this.startdate = startdate; } public String getEnddate() { return enddate; } public void setEnddate(String enddate) { this.enddate = enddate; } public String getCallidentifier() { return callidentifier; } public void setCallidentifier(String callidentifier) { this.callidentifier = callidentifier; } public String getKeywords() { return keywords; } public void setKeywords(String keywords) { this.keywords = keywords; } public boolean isOpenaccessmandateforpublications() { return openaccessmandateforpublications; } public void setOpenaccessmandateforpublications(boolean openaccessmandateforpublications) { this.openaccessmandateforpublications = openaccessmandateforpublications; } public boolean isOpenaccessmandatefordataset() { return openaccessmandatefordataset; } public void setOpenaccessmandatefordataset(boolean openaccessmandatefordataset) { this.openaccessmandatefordataset = openaccessmandatefordataset; } public List getSubject() { return subject; } public void setSubject(List subject) { this.subject = subject; } public List getFunding() { return funding; } public void setFunding(List funding) { this.funding = funding; } public String getSummary() { return summary; } public void setSummary(String summary) { this.summary = summary; } public Granted getGranted() { return granted; } public void setGranted(Granted granted) { this.granted = granted; } public List getProgramme() { return programme; } public void setProgramme(List programme) { this.programme = programme; } }