forked from D-Net/dnet-hadoop
instance URLs must be repeatable
This commit is contained in:
parent
97c239ee0d
commit
63c0db4ff8
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>eu.dnetlib.dhp</groupId>
|
<groupId>eu.dnetlib.dhp</groupId>
|
||||||
<artifactId>dhp</artifactId>
|
<artifactId>dhp</artifactId>
|
||||||
<version>1.0.5-SNAPSHOT</version>
|
<version>1.1.5-SNAPSHOT</version>
|
||||||
<relativePath>../</relativePath>
|
<relativePath>../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue