Commit e9055030 authored by Cyrille Poncelet's avatar Cyrille Poncelet
Browse files

Update XSF model (take into account for vendor descriptor)

parent 3ff6bb4c
This diff is collapsed.
......@@ -64,7 +64,7 @@ public class SCGroupAdapter {
// Get import and layer declaration lines
SortedSet<String> classToImportSet = new TreeSet<>();
classToImportSet.add("import fr.ifremer.globe.api.xsf.converter.common.xsf.IDataProxy;");
classToImportSet.add("import fr.ifremer.globe.api.xsf.converter.common.sounder.ISounderFile;");
classToImportSet.add("import fr.ifremer.globe.netcdf.ucar.DataType;");
classToImportSet.add("import fr.ifremer.globe.netcdf.ucar.NCException;");
classToImportSet.add("import fr.ifremer.globe.netcdf.ucar.NCGroup;");
......@@ -118,12 +118,12 @@ public class SCGroupAdapter {
switch (group.getGroupCategory()) {
case eStandard:
sourceCode.add(String.format(
"\n\tpublic %s(NCGroup parent, IDataProxy dataProxy) throws NCException {\n\t\tsuper(GROUP_NAME,parent);",
"\n\tpublic %s(NCGroup parent, ISounderFile dataProxy) throws NCException {\n\t\tsuper(GROUP_NAME,parent);",
getClassName(group, "")));
break;
case eSensor:
sourceCode.add(String.format(
"\n\tpublic %s(NCGroup parent, IDataProxy dataProxy, String sensor_id) throws NCException {\n\t\tsuper(sensor_id,parent);",
"\n\tpublic %s(NCGroup parent, ISounderFile dataProxy, String id) throws NCException {\n\t\tsuper(id,parent);",
getClassName(group, "")));
break;
......
Markdown is supported
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