Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@91527 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8b01529acb
commit
b3e3f84b79
|
@ -1,6 +1,7 @@
|
|||
package org.gcube.portlets.user.td.gwtservice.server.trservice;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.BooleanType;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.DataType;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.DateType;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.GeometryType;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.IntegerType;
|
||||
import org.gcube.data.analysis.tabulardata.model.datatype.NumericType;
|
||||
|
@ -31,6 +32,9 @@ public class ColumnDataTypeMap {
|
|||
} else {
|
||||
if(columnDataType==ColumnDataType.Text){
|
||||
return new TextType();
|
||||
} else {
|
||||
if(columnDataType==ColumnDataType.Date){
|
||||
return new DateType();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
@ -39,6 +43,7 @@ public class ColumnDataTypeMap {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue