instance URLs must be repeatable

This commit is contained in:
Claudio Atzori 2020-01-17 14:22:15 +01:00
parent 4955be0197
commit 749b0660ab
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
package eu.dnetlib.dhp.schema.oaf; package eu.dnetlib.dhp.schema.oaf;
import java.io.Serializable; import java.io.Serializable;
import java.util.List;
public class Instance implements Serializable { public class Instance implements Serializable {
@ -12,7 +13,7 @@ public class Instance implements Serializable {
private KeyValue hostedby; private KeyValue hostedby;
private String url; private List<String> url;
// other research products specifc // other research products specifc
private String distributionlocation; private String distributionlocation;
@ -53,11 +54,11 @@ public class Instance implements Serializable {
this.hostedby = hostedby; this.hostedby = hostedby;
} }
public String getUrl() { public List<String> getUrl() {
return url; return url;
} }
public void setUrl(String url) { public void setUrl(List<String> url) {
this.url = url; this.url = url;
} }