From 035a372677495477bfe7f77752a258d0ee826908 Mon Sep 17 00:00:00 2001 From: Sandro La Bruzzo Date: Wed, 5 Apr 2023 08:45:05 +0200 Subject: [PATCH] Introduced Pid type into author --- .../dhp/schema/sx/summary/AuthorPid.java | 30 +++++++++++++++++++ .../dhp/schema/sx/summary/ScholixSummary.java | 6 ++-- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 src/main/java/eu/dnetlib/dhp/schema/sx/summary/AuthorPid.java diff --git a/src/main/java/eu/dnetlib/dhp/schema/sx/summary/AuthorPid.java b/src/main/java/eu/dnetlib/dhp/schema/sx/summary/AuthorPid.java new file mode 100644 index 0000000..2d2ff20 --- /dev/null +++ b/src/main/java/eu/dnetlib/dhp/schema/sx/summary/AuthorPid.java @@ -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; + } +} diff --git a/src/main/java/eu/dnetlib/dhp/schema/sx/summary/ScholixSummary.java b/src/main/java/eu/dnetlib/dhp/schema/sx/summary/ScholixSummary.java index 8da25dc..740f090 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/sx/summary/ScholixSummary.java +++ b/src/main/java/eu/dnetlib/dhp/schema/sx/summary/ScholixSummary.java @@ -14,7 +14,7 @@ public class ScholixSummary implements Serializable { private Typology typology; private String subType; private List title; - private List author; + private List author; private List date; private String description; private List subject; @@ -56,11 +56,11 @@ public class ScholixSummary implements Serializable { this.title = title; } - public List getAuthor() { + public List getAuthor() { return author; } - public void setAuthor(List author) { + public void setAuthor(List author) { this.author = author; }