Commit 467d4dce authored by PrabithaPrabhakaran's avatar PrabithaPrabhakaran
Browse files

Fix uom datatype

parent 7c7a9d38
......@@ -914,7 +914,7 @@ public class EnergyADEMarshaller implements ADEMarshaller {
if (src.isSetUom()) {
UnitOfMeasureType uom = new UnitOfMeasureType();
uom.setUom(src.getUom());
uom.setUom(src.getUom().getUom());
dest.setUom(uom);
}
......
......@@ -729,7 +729,9 @@ public class EnergyADEUnmarshaller implements ADEUnmarshaller {
try {
if (src.isSetUom()) {
dest.setUom(src.getUom().toString());
UnitOfMeasure unitOfMeasure = new UnitOfMeasure();
unitOfMeasure.setUom(src.getUom().getUom());
dest.setUom(unitOfMeasure);
}
if (src.isSetTemporalExtent()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment