Introduced Pid type into author

This commit is contained in:
Sandro La Bruzzo 2023-04-05 08:45:05 +02:00
parent f709096825
commit 035a372677
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,30 @@
package eu.dnetlib.dhp.schema.sx.summary;
public class AuthorPid {
private String fullname;
private String ORCID;
public AuthorPid() {
}
public AuthorPid(String fullname, String ORCID) {
this.fullname = fullname;
this.ORCID = ORCID;
}
public String getFullname() {
return fullname;
}
public void setFullname(String fullname) {
this.fullname = fullname;
}
public String getORCID() {
return ORCID;
}
public void setORCID(String ORCID) {
this.ORCID = ORCID;
}
}

View File

@ -14,7 +14,7 @@ public class ScholixSummary implements Serializable {
private Typology typology; private Typology typology;
private String subType; private String subType;
private List<String> title; private List<String> title;
private List<String> author; private List<AuthorPid> author;
private List<String> date; private List<String> date;
private String description; private String description;
private List<SchemeValue> subject; private List<SchemeValue> subject;
@ -56,11 +56,11 @@ public class ScholixSummary implements Serializable {
this.title = title; this.title = title;
} }
public List<String> getAuthor() { public List<AuthorPid> getAuthor() {
return author; return author;
} }
public void setAuthor(List<String> author) { public void setAuthor(List<AuthorPid> author) {
this.author = author; this.author = author;
} }