1
0
Fork 0

project attributes removed from the XML record serialization: contactfullname, contactfax, contactphone, contactemail

This commit is contained in:
Claudio Atzori 2020-11-19 15:26:20 +01:00
parent e503271abe
commit 7c9feaf9e7
1 changed files with 0 additions and 22 deletions

View File

@ -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()));
}