instance level fulltext #24
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
<groupId>eu.dnetlib.dhp</groupId>
|
<groupId>eu.dnetlib.dhp</groupId>
|
||||||
<artifactId>dhp-schemas</artifactId>
|
<artifactId>dhp-schemas</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>3.16.1-SNAPSHOT</version>
|
<version>3.17.1-SNAPSHOT</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|
|
@ -39,6 +39,11 @@ public class Instance implements Serializable {
|
||||||
|
|
||||||
private List<Measure> measures;
|
private List<Measure> measures;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Direct fulltext URL.
|
||||||
|
*/
|
||||||
|
private String fulltext;
|
||||||
|
|
||||||
public Field<String> getLicense() {
|
public Field<String> getLicense() {
|
||||||
return license;
|
return license;
|
||||||
}
|
}
|
||||||
|
@ -151,6 +156,14 @@ public class Instance implements Serializable {
|
||||||
this.measures = measures;
|
this.measures = measures;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getFulltext() {
|
||||||
|
return fulltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFulltext(String fulltext) {
|
||||||
|
this.fulltext = fulltext;
|
||||||
|
}
|
||||||
|
|
||||||
public String toComparableString() {
|
public String toComparableString() {
|
||||||
return String
|
return String
|
||||||
.format(
|
.format(
|
||||||
|
|
|
@ -95,9 +95,9 @@ public class Result extends OafEntity implements Serializable {
|
||||||
private List<Field<String>> source;
|
private List<Field<String>> source;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Fulltext.
|
* The list of direct fulltext URLs.
|
||||||
*/
|
*/
|
||||||
private List<Field<String>> fulltext; // remove candidate
|
private List<Field<String>> fulltext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Format.
|
* The Format.
|
||||||
|
|
Loading…
Reference in New Issue