2020-06-08 15:11:37 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.List;
|
|
|
|
|
2020-08-13 17:05:06 +02:00
|
|
|
/**
|
|
|
|
* Represents the manifestations (i.e. different versions) of the result. For example: the pre-print and the published
|
|
|
|
* versions are two manifestations of the same research result. It has the following parameters:
|
2020-08-13 17:17:49 +02:00
|
|
|
* - license of type String to store the license applied to the instance. It corresponds to the value of the licence in
|
|
|
|
* the instance to be dumped
|
|
|
|
* - accessright of type eu.dnetlib.dhp.schema.dump.oaf.AccessRight to store the accessright of the instance.
|
|
|
|
* - type of type String to store the type of the instance as defined in the corresponding dnet vocabulary
|
|
|
|
* (dnet:pubication_resource). It corresponds to the instancetype.classname of the instance to be mapped
|
|
|
|
* - hostedby of type eu.dnetlib.dhp.schema.dump.oaf.KeyValue to store the information about the source from which the
|
|
|
|
* instance can be viewed or downloaded. It is mapped against the hostedby parameter of the instance to be dumped and
|
2020-08-13 17:05:06 +02:00
|
|
|
* - key corresponds to hostedby.key
|
|
|
|
* - value corresponds to hostedby.value
|
2020-08-13 17:17:49 +02:00
|
|
|
* - url of type List<String> list of locations where the instance is accessible. It corresponds to url of the instance
|
|
|
|
* to be dumped
|
|
|
|
* - collectedfrom of type eu.dnetlib.dhp.schema.dump.oaf.KeyValue to store the information about the source from which
|
|
|
|
* the instance has been collected. It is mapped against the collectedfrom parameter of the instance to be dumped and
|
2020-08-13 17:05:06 +02:00
|
|
|
* - key corresponds to collectedfrom.key
|
|
|
|
* - value corresponds to collectedfrom.value
|
|
|
|
* - publicationdate of type String to store the publication date of the instance ;// dateofacceptance;
|
2020-08-13 17:17:49 +02:00
|
|
|
* - 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
|
2020-08-13 17:05:06 +02:00
|
|
|
*/
|
2020-06-08 15:11:37 +02:00
|
|
|
public class Instance implements Serializable {
|
|
|
|
|
|
|
|
private String license;
|
|
|
|
|
|
|
|
private AccessRight accessright;
|
|
|
|
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
private KeyValue hostedby;
|
|
|
|
|
|
|
|
private List<String> url;
|
|
|
|
|
|
|
|
private KeyValue collectedfrom;
|
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
private String publicationdate;// dateofacceptance;
|
2020-06-08 15:11:37 +02:00
|
|
|
|
|
|
|
private String refereed; // peer-review status
|
|
|
|
|
|
|
|
public String getLicense() {
|
|
|
|
return license;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLicense(String license) {
|
|
|
|
this.license = license;
|
|
|
|
}
|
|
|
|
|
|
|
|
public AccessRight getAccessright() {
|
|
|
|
return accessright;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAccessright(AccessRight accessright) {
|
|
|
|
this.accessright = accessright;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setType(String type) {
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public KeyValue getHostedby() {
|
|
|
|
return hostedby;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHostedby(KeyValue hostedby) {
|
|
|
|
this.hostedby = hostedby;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getUrl() {
|
|
|
|
return url;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setUrl(List<String> url) {
|
|
|
|
this.url = url;
|
|
|
|
}
|
|
|
|
|
|
|
|
public KeyValue getCollectedfrom() {
|
|
|
|
return collectedfrom;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCollectedfrom(KeyValue collectedfrom) {
|
|
|
|
this.collectedfrom = collectedfrom;
|
|
|
|
}
|
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public String getPublicationdate() {
|
|
|
|
return publicationdate;
|
2020-06-08 15:11:37 +02:00
|
|
|
}
|
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public void setPublicationdate(String publicationdate) {
|
|
|
|
this.publicationdate = publicationdate;
|
2020-06-08 15:11:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getRefereed() {
|
|
|
|
return refereed;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRefereed(String refereed) {
|
|
|
|
this.refereed = refereed;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|