Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@93385 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-03-20 14:42:00 +00:00
parent c3e9e778d3
commit 35175f6a65
2 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,7 @@ package org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column;
public enum ColumnTypeCode {
ANNOTATION("ANNOTATION"), ATTRIBUTE("ATTRIBUTE"), CODE("CODE"), CODEDESCRIPTION(
"CODEDESCRIPTION"), CODENAME("CODENAME"), DIMENSION("DIMENSION"), MEASURE(
"MESAURE"), TIMEDIMENSION("TIMEDIMENSION");
"MESAURE"), TIMEDIMENSION("TIMEDIMENSION"), VIEWCOLUMN("VIEWCOLUMN");
/**
* @param text

View File

@ -63,7 +63,11 @@ public class ColumnTypeMap {
if(id.compareTo(ColumnTypeCode.TIMEDIMENSION.toString())==0){
return ColumnTypeCode.TIMEDIMENSION;
} else {
return null;
if(id.compareTo(ColumnTypeCode.VIEWCOLUMN.toString())==0){
return ColumnTypeCode.VIEWCOLUMN;
} else {
return null;
}
}
}
}