Renamed RecordType. to . Deprecated Result.resulttype
This commit is contained in:
parent
d0b310c1f4
commit
a40552fb94
3
pom.xml
3
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>9.0.1-SNAPSHOT</version>
|
<version>9.0.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
@ -32,7 +32,6 @@
|
||||||
<connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection>
|
<connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection>
|
||||||
<developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection>
|
<developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection>
|
||||||
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
|
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
|
||||||
<tag>dhp-schemas-2.10.30</tag>
|
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description>
|
<description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description>
|
||||||
|
|
|
@ -5,7 +5,7 @@ import java.io.Serializable;
|
||||||
public enum RecordType implements Serializable {
|
public enum RecordType implements Serializable {
|
||||||
publication,
|
publication,
|
||||||
dataset,
|
dataset,
|
||||||
otherresearchproduct,
|
other,
|
||||||
software,
|
software,
|
||||||
datasource,
|
datasource,
|
||||||
organization,
|
organization,
|
||||||
|
|
|
@ -9,7 +9,9 @@ public class Result implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of the result: one of 'publication', 'dataset', 'software', 'other' (see also https://api.openaire.eu/vocabularies/dnet:result_typologies)
|
* Type of the result: one of 'publication', 'dataset', 'software', 'other' (see also https://api.openaire.eu/vocabularies/dnet:result_typologies)
|
||||||
|
* This field is deprecated. See eu.dnetlib.dhp.schema.solr.SolrRecordHeader.RecordType
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private String resulttype;
|
private String resulttype;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -165,10 +167,16 @@ public class Result implements Serializable {
|
||||||
*/
|
*/
|
||||||
private List<Instance> instance;
|
private List<Instance> instance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field is deprecated. See eu.dnetlib.dhp.schema.solr.SolrRecordHeader.RecordType
|
||||||
|
* @return resulttype
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getResulttype() {
|
public String getResulttype() {
|
||||||
return resulttype;
|
return resulttype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public void setResulttype(String resulttype) {
|
public void setResulttype(String resulttype) {
|
||||||
this.resulttype = resulttype;
|
this.resulttype = resulttype;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue