Merge pull request 'raw affiliation string' (#40) from raw_affiliations into master

Reviewed-on: #40
This commit is contained in:
Claudio Atzori 2024-09-24 11:16:33 +02:00
commit dc20c3b54c
3 changed files with 9 additions and 8 deletions

View File

@ -4,7 +4,8 @@
| **Version** | **Changes** | **Readiness** |
|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
| 7.0.0 | [Graph model] </br> <ul><li>Introduced Person entity and its relations: authorship, coauthorship, affiliation</li><li>Updated Solr JSON payload model classes</li></ul> | beta |
| 8.0.0 | [Graph model] </br> <ul><li>Renamed `Result.author.affiliation` to `rawAffiliationString`. Updated Solr JSON payload model classes</li></ul> | beta |
| 7.0.0 | [Graph model] </br> <ul><li>Introduced Person entity and its relations: authorship, coauthorship, affiliation</li><li>Updated Solr JSON payload model classes</li></ul> | production |
| 6.1.3 | [Graph model] </br> <ul><li>Updated Solr JSON payload model classes</li></ul> | production |
| 6.1.1 | [Graph model] </br> <ul><li>Introduced constants used in the DOIBoost dismission.</li></ul> | production |
| 6.1.0 | [Graph model] </br> <ul><li>Introduced model classes to provide a JSON representation of records embedding information from the related entities.</li></ul> | production |

View File

@ -5,7 +5,7 @@
<groupId>eu.dnetlib.dhp</groupId>
<artifactId>dhp-schemas</artifactId>
<packaging>jar</packaging>
<version>7.0.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
<licenses>
<license>

View File

@ -7,6 +7,7 @@ import java.util.*;
public class Author implements Serializable {
private static final long serialVersionUID = 1625492739044457437L;
private String fullname;
private String name;
@ -18,7 +19,7 @@ public class Author implements Serializable {
private List<StructuredProperty> pid;
private List<Field<String>> affiliation;
private List<String> rawAffiliationString;
public String getFullname() {
return fullname;
@ -60,12 +61,11 @@ public class Author implements Serializable {
this.pid = pid;
}
public List<Field<String>> getAffiliation() {
return affiliation;
public List<String> getRawAffiliationString() {
return rawAffiliationString;
}
public void setAffiliation(List<Field<String>> affiliation) {
this.affiliation = affiliation;
public void setRawAffiliationString(List<String> rawAffiliationString) {
this.rawAffiliationString = rawAffiliationString;
}
}