Added APC to the schema of the dump

This commit is contained in:
Miriam Baglioni 2021-07-13 15:01:00 +02:00
parent f76a11d27d
commit cba43126e1
2 changed files with 11 additions and 1 deletions

View File

@ -4,7 +4,7 @@ package eu.dnetlib.dhp.schema.dump.oaf;
import java.io.Serializable;
/**
* Used to refer to the Article Processing Charge information. Not dumped in this release. It contains two parameters: -
* Used to refer to the Article Processing Charge information. It contains two parameters: -
* currency of type String to store the currency of the APC - amount of type String to stores the charged amount
*/
public class APC implements Serializable {

View File

@ -15,6 +15,7 @@ import java.util.List;
* publicationdate of type String to store the publication date of the instance ;// dateofacceptance; - refereed of type
* String to store information abour tthe review status of the instance. Possible values are 'Unknown',
* 'nonPeerReviewed', 'peerReviewed'. It corresponds to refereed.classname of the instance to be dumped
* - articleprocessingcharge of type APC to store the article processing charges possibly associated to the instance
*/
public class Instance implements Serializable {
@ -26,6 +27,8 @@ public class Instance implements Serializable {
private List<String> url;
private APC articleprocessingcharge;
private String publicationdate;// dateofacceptance;
private String refereed; // peer-review status
@ -78,4 +81,11 @@ public class Instance implements Serializable {
this.refereed = refereed;
}
public APC getArticleprocessingcharge() {
return articleprocessingcharge;
}
public void setArticleprocessingcharge(APC articleprocessingcharge) {
this.articleprocessingcharge = articleprocessingcharge;
}
}