forked from D-Net/dnet-hadoop
Merge pull request '[graph provision] added serialization for the new fields imported from the stats DB' (#365) from 9078_xml_records_irish_tender into beta
Reviewed-on: D-Net/dnet-hadoop#365
This commit is contained in:
commit
982c0c110b
|
@ -434,6 +434,24 @@ public class XmlRecordFactory implements Serializable {
|
||||||
XmlSerializationUtils
|
XmlSerializationUtils
|
||||||
.asXmlElement("processingchargecurrency", r.getProcessingchargecurrency().getValue()));
|
.asXmlElement("processingchargecurrency", r.getProcessingchargecurrency().getValue()));
|
||||||
}
|
}
|
||||||
|
if (r.getIsGreen() != null) {
|
||||||
|
metadata
|
||||||
|
.add(XmlSerializationUtils.asXmlElement("isgreen", Boolean.toString(r.getIsGreen())));
|
||||||
|
}
|
||||||
|
if (r.getOpenAccessColor() != null) {
|
||||||
|
metadata
|
||||||
|
.add(XmlSerializationUtils.asXmlElement("openaccesscolor", r.getOpenAccessColor().toString()));
|
||||||
|
}
|
||||||
|
if (r.getIsInDiamondJournal() != null) {
|
||||||
|
metadata
|
||||||
|
.add(
|
||||||
|
XmlSerializationUtils
|
||||||
|
.asXmlElement("isindiamondjournal", Boolean.toString(r.getIsInDiamondJournal())));
|
||||||
|
}
|
||||||
|
if (r.getPubliclyFunded() != null) {
|
||||||
|
metadata
|
||||||
|
.add(XmlSerializationUtils.asXmlElement("publiclyfunded", Boolean.toString(r.getPubliclyFunded())));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
|
Loading…
Reference in New Issue