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:
parent
c3e9e778d3
commit
35175f6a65
|
@ -10,7 +10,7 @@ package org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column;
|
||||||
public enum ColumnTypeCode {
|
public enum ColumnTypeCode {
|
||||||
ANNOTATION("ANNOTATION"), ATTRIBUTE("ATTRIBUTE"), CODE("CODE"), CODEDESCRIPTION(
|
ANNOTATION("ANNOTATION"), ATTRIBUTE("ATTRIBUTE"), CODE("CODE"), CODEDESCRIPTION(
|
||||||
"CODEDESCRIPTION"), CODENAME("CODENAME"), DIMENSION("DIMENSION"), MEASURE(
|
"CODEDESCRIPTION"), CODENAME("CODENAME"), DIMENSION("DIMENSION"), MEASURE(
|
||||||
"MESAURE"), TIMEDIMENSION("TIMEDIMENSION");
|
"MESAURE"), TIMEDIMENSION("TIMEDIMENSION"), VIEWCOLUMN("VIEWCOLUMN");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param text
|
* @param text
|
||||||
|
|
|
@ -63,7 +63,11 @@ public class ColumnTypeMap {
|
||||||
if(id.compareTo(ColumnTypeCode.TIMEDIMENSION.toString())==0){
|
if(id.compareTo(ColumnTypeCode.TIMEDIMENSION.toString())==0){
|
||||||
return ColumnTypeCode.TIMEDIMENSION;
|
return ColumnTypeCode.TIMEDIMENSION;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
if(id.compareTo(ColumnTypeCode.VIEWCOLUMN.toString())==0){
|
||||||
|
return ColumnTypeCode.VIEWCOLUMN;
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue