Introduced Pid type into author
This commit is contained in:
parent
f709096825
commit
035a372677
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue