added serialization for the new fields imported for the Irish tender
This commit is contained in:
parent
c5b7253130
commit
321922772b
|
@ -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