forked from antonis.lempesis/dnet-hadoop
added new filed and doc
This commit is contained in:
parent
d465f0eec9
commit
627c1dc73a
|
@ -28,6 +28,8 @@ public class Result implements Serializable {
|
||||||
|
|
||||||
private String publicationdate; // dateofacceptance;
|
private String publicationdate; // dateofacceptance;
|
||||||
|
|
||||||
|
private List<String> fulltext;
|
||||||
|
|
||||||
private String publisher;
|
private String publisher;
|
||||||
|
|
||||||
private String embargoenddate;
|
private String embargoenddate;
|
||||||
|
@ -76,6 +78,14 @@ public class Result implements Serializable {
|
||||||
|
|
||||||
private Long lastupdatetimestamp;
|
private Long lastupdatetimestamp;
|
||||||
|
|
||||||
|
public List<String> getFulltext() {
|
||||||
|
return fulltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFulltext(List<String> fulltext) {
|
||||||
|
this.fulltext = fulltext;
|
||||||
|
}
|
||||||
|
|
||||||
public Long getLastupdatetimestamp() {
|
public Long getLastupdatetimestamp() {
|
||||||
return lastupdatetimestamp;
|
return lastupdatetimestamp;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,20 @@ import java.util.List;
|
||||||
|
|
||||||
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
|
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
|
||||||
|
|
||||||
//At the moment the funder is map in the project.
|
/**
|
||||||
//We will reserve to decide if to create specific entities for funders (and related relations to the organization)
|
* This is the class representing the Project in the model used for the dumps of the whole graph. At the moment the dump
|
||||||
// or let them in the project
|
* 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 {
|
public class Project implements Serializable {
|
||||||
private String id;
|
private String id;
|
||||||
// private List<KeyValue> collectedfrom;
|
|
||||||
private String websiteurl;
|
private String websiteurl;
|
||||||
private String code;
|
private String code;
|
||||||
private String acronym;
|
private String acronym;
|
||||||
|
@ -24,8 +32,6 @@ public class Project implements Serializable {
|
||||||
|
|
||||||
private String keywords;
|
private String keywords;
|
||||||
|
|
||||||
// private String duration; removed because the most of the times is set to 0
|
|
||||||
|
|
||||||
private boolean openaccessmandateforpublications;
|
private boolean openaccessmandateforpublications;
|
||||||
|
|
||||||
private boolean openaccessmandatefordataset;
|
private boolean openaccessmandatefordataset;
|
||||||
|
@ -111,14 +117,6 @@ public class Project implements Serializable {
|
||||||
this.keywords = keywords;
|
this.keywords = keywords;
|
||||||
}
|
}
|
||||||
|
|
||||||
// public String getDuration() {
|
|
||||||
// return duration;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void setDuration(String duration) {
|
|
||||||
// this.duration = duration;
|
|
||||||
// }
|
|
||||||
|
|
||||||
public boolean isOpenaccessmandateforpublications() {
|
public boolean isOpenaccessmandateforpublications() {
|
||||||
return openaccessmandateforpublications;
|
return openaccessmandateforpublications;
|
||||||
}
|
}
|
||||||
|
@ -175,11 +173,4 @@ public class Project implements Serializable {
|
||||||
this.programme = programme;
|
this.programme = programme;
|
||||||
}
|
}
|
||||||
|
|
||||||
// public List<KeyValue> getCollectedfrom() {
|
|
||||||
// return collectedfrom;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void setCollectedfrom(List<KeyValue> collectedfrom) {
|
|
||||||
// this.collectedfrom = collectedfrom;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue