forked from D-Net/dnet-hadoop
including related organization url in the XML record serialization (ticket #9498)
This commit is contained in:
parent
db66555ebb
commit
eb5887cb9a
|
@ -1133,6 +1133,9 @@ public class XmlRecordFactory implements Serializable {
|
||||||
if (re.getCountry() != null && !re.getCountry().isBlank()) {
|
if (re.getCountry() != null && !re.getCountry().isBlank()) {
|
||||||
metadata.add(XmlSerializationUtils.mapQualifier("country", re.getCountry()));
|
metadata.add(XmlSerializationUtils.mapQualifier("country", re.getCountry()));
|
||||||
}
|
}
|
||||||
|
if (StringUtils.isNotBlank(re.getWebsiteurl())) {
|
||||||
|
metadata.add(XmlSerializationUtils.asXmlElement("websiteurl", re.getWebsiteurl()));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case project:
|
case project:
|
||||||
if (isNotBlank(re.getProjectTitle())) {
|
if (isNotBlank(re.getProjectTitle())) {
|
||||||
|
|
Loading…
Reference in New Issue