From 7c9feaf9e7318d4833cc40eda3fdc33e76b2355b Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 19 Nov 2020 15:26:20 +0100 Subject: [PATCH] project attributes removed from the XML record serialization: contactfullname, contactfax, contactphone, contactemail --- .../oa/provision/utils/XmlRecordFactory.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java index 53d4c888ea..eba7362287 100644 --- a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java +++ b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java @@ -901,28 +901,6 @@ public class XmlRecordFactory implements Serializable { if (p.getEcsc39() != null) { metadata.add(XmlSerializationUtils.asXmlElement("ecsc39", p.getEcsc39().getValue())); } - if (p.getContactfullname() != null) { - metadata - .add( - XmlSerializationUtils - .asXmlElement( - "contactfullname", p.getContactfullname().getValue())); - } - if (p.getContactfax() != null) { - metadata - .add( - XmlSerializationUtils.asXmlElement("contactfax", p.getContactfax().getValue())); - } - if (p.getContactphone() != null) { - metadata - .add( - XmlSerializationUtils.asXmlElement("contactphone", p.getContactphone().getValue())); - } - if (p.getContactemail() != null) { - metadata - .add( - XmlSerializationUtils.asXmlElement("contactemail", p.getContactemail().getValue())); - } if (p.getSummary() != null) { metadata.add(XmlSerializationUtils.asXmlElement("summary", p.getSummary().getValue())); }