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:
Giancarlo Panichi 2014-02-13 11:25:45 +00:00
parent 8b01529acb
commit b3e3f84b79
1 changed files with 6 additions and 1 deletions

View File

@ -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;
@ -32,7 +33,11 @@ public class ColumnDataTypeMap {
if(columnDataType==ColumnDataType.Text){
return new TextType();
} else {
return null;
if(columnDataType==ColumnDataType.Date){
return new DateType();
} else {
return null;
}
}
}
}