dnet-hadoop/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/graph/Project.java

177 lines
3.8 KiB
Java
Raw Normal View History

package eu.dnetlib.dhp.schema.dump.oaf.graph;
import java.io.Serializable;
import java.util.List;
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
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
* Projects but to take 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
*/
public class Project implements Serializable {
private String id;
2020-08-03 18:05:41 +02:00
private String websiteurl;
private String code;
private String acronym;
private String title;
private String startdate;
private String enddate;
private String callidentifier;
private String keywords;
private boolean openaccessmandateforpublications;
private boolean openaccessmandatefordataset;
private List<String> subject;
private List<Funder> funding;
private String summary;
private Granted granted;
private List<Programme> programme;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getWebsiteurl() {
return websiteurl;
}
2020-07-20 18:54:17 +02:00
public void setWebsiteurl(String websiteurl) {
this.websiteurl = websiteurl;
}
2020-07-20 18:54:17 +02:00
public String getCode() {
return code;
}
2020-07-20 18:54:17 +02:00
public void setCode(String code) {
this.code = code;
}
2020-07-20 18:54:17 +02:00
public String getAcronym() {
return acronym;
}
2020-07-20 18:54:17 +02:00
public void setAcronym(String acronym) {
this.acronym = acronym;
}
2020-07-20 18:54:17 +02:00
public String getTitle() {
return title;
}
2020-07-20 18:54:17 +02:00
public void setTitle(String title) {
this.title = title;
}
2020-07-20 18:54:17 +02:00
public String getStartdate() {
return startdate;
}
2020-07-20 18:54:17 +02:00
public void setStartdate(String startdate) {
this.startdate = startdate;
}
2020-07-20 18:54:17 +02:00
public String getEnddate() {
return enddate;
}
2020-07-20 18:54:17 +02:00
public void setEnddate(String enddate) {
this.enddate = enddate;
}
2020-07-20 18:54:17 +02:00
public String getCallidentifier() {
return callidentifier;
}
2020-07-20 18:54:17 +02:00
public void setCallidentifier(String callidentifier) {
this.callidentifier = callidentifier;
}
2020-07-20 18:54:17 +02:00
public String getKeywords() {
return keywords;
}
2020-07-20 18:54:17 +02:00
public void setKeywords(String keywords) {
this.keywords = keywords;
}
2020-07-20 18:54:17 +02:00
public boolean isOpenaccessmandateforpublications() {
return openaccessmandateforpublications;
}
2020-07-20 18:54:17 +02:00
public void setOpenaccessmandateforpublications(boolean openaccessmandateforpublications) {
this.openaccessmandateforpublications = openaccessmandateforpublications;
}
2020-07-20 18:54:17 +02:00
public boolean isOpenaccessmandatefordataset() {
return openaccessmandatefordataset;
}
2020-07-20 18:54:17 +02:00
public void setOpenaccessmandatefordataset(boolean openaccessmandatefordataset) {
this.openaccessmandatefordataset = openaccessmandatefordataset;
}
2020-07-20 18:54:17 +02:00
public List<String> getSubject() {
return subject;
}
2020-07-20 18:54:17 +02:00
public void setSubject(List<String> subject) {
this.subject = subject;
}
2020-07-20 18:54:17 +02:00
public List<Funder> getFunding() {
return funding;
}
2020-07-20 18:54:17 +02:00
public void setFunding(List<Funder> funding) {
this.funding = funding;
}
2020-07-20 18:54:17 +02:00
public String getSummary() {
return summary;
}
2020-07-20 18:54:17 +02:00
public void setSummary(String summary) {
this.summary = summary;
}
2020-07-20 18:54:17 +02:00
public Granted getGranted() {
return granted;
}
2020-07-20 18:54:17 +02:00
public void setGranted(Granted granted) {
this.granted = granted;
}
2020-07-20 18:54:17 +02:00
public List<Programme> getProgramme() {
return programme;
}
2020-07-20 18:54:17 +02:00
public void setProgramme(List<Programme> programme) {
this.programme = programme;
}
2020-07-20 18:54:17 +02:00
}