Fixed ColumnTypeMap
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@91771 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a895b8c208
commit
f0a05b2437
|
@ -11,14 +11,14 @@ public class ColumnTypeMap {
|
|||
|
||||
|
||||
public static ColumnDataType getColumnDataType(String id){
|
||||
if(id.compareTo(ColumnDataType.Boolean.toString())==0){
|
||||
return ColumnDataType.Boolean;
|
||||
if(id.compareTo(ColumnDataType.Integer.toString())==0){
|
||||
return ColumnDataType.Integer;
|
||||
} else {
|
||||
if(id.compareTo(ColumnDataType.Geometry.toString())==0){
|
||||
return ColumnDataType.Geometry;
|
||||
} else {
|
||||
if(id.compareTo(ColumnDataType.Boolean.toString())==0){
|
||||
return ColumnDataType.Integer;
|
||||
return ColumnDataType.Boolean;
|
||||
} else {
|
||||
if(id.compareTo(ColumnDataType.Numeric.toString())==0){
|
||||
return ColumnDataType.Numeric;
|
||||
|
|
Loading…
Reference in New Issue