diff --git a/orcid-core/src/main/java/org/orcid/pojo/summary/AffiliationSummary.java b/orcid-core/src/main/java/org/orcid/pojo/summary/AffiliationSummary.java index 03ee2c4eae6..6a7bad05497 100644 --- a/orcid-core/src/main/java/org/orcid/pojo/summary/AffiliationSummary.java +++ b/orcid-core/src/main/java/org/orcid/pojo/summary/AffiliationSummary.java @@ -6,13 +6,13 @@ import org.orcid.pojo.ajaxForm.PojoUtil; public class AffiliationSummary { - public String organizationName; - public String url; - public String startDate; - public String endDate; - public String role; - public String type; - public boolean validated; + private String organizationName; + private String url; + private String startDate; + private String endDate; + private String role; + private String type; + private boolean validated; public String getOrganizationName() { return organizationName; diff --git a/orcid-core/src/main/java/org/orcid/pojo/summary/RecordSummary.java b/orcid-core/src/main/java/org/orcid/pojo/summary/RecordSummary.java index 6f9a20ec1d6..1c3cfed92fd 100644 --- a/orcid-core/src/main/java/org/orcid/pojo/summary/RecordSummary.java +++ b/orcid-core/src/main/java/org/orcid/pojo/summary/RecordSummary.java @@ -3,9 +3,12 @@ import java.util.List; +import javax.xml.bind.annotation.XmlRootElement; + import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; +@XmlRootElement public class RecordSummary { @JsonInclude(Include.NON_NULL) private String name;