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

Fix uom datatype

parent 7c7a9d38
...@@ -914,7 +914,7 @@ public class EnergyADEMarshaller implements ADEMarshaller { ...@@ -914,7 +914,7 @@ public class EnergyADEMarshaller implements ADEMarshaller {
if (src.isSetUom()) { if (src.isSetUom()) {
UnitOfMeasureType uom = new UnitOfMeasureType(); UnitOfMeasureType uom = new UnitOfMeasureType();
uom.setUom(src.getUom()); uom.setUom(src.getUom().getUom());
dest.setUom(uom); dest.setUom(uom);
} }
......
...@@ -729,7 +729,9 @@ public class EnergyADEUnmarshaller implements ADEUnmarshaller { ...@@ -729,7 +729,9 @@ public class EnergyADEUnmarshaller implements ADEUnmarshaller {
try { try {
if (src.isSetUom()) { if (src.isSetUom()) {
dest.setUom(src.getUom().toString()); UnitOfMeasure unitOfMeasure = new UnitOfMeasure();
unitOfMeasure.setUom(src.getUom().getUom());
dest.setUom(unitOfMeasure);
} }
if (src.isSetTemporalExtent()) { 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