Added TimeDimensionType
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@92585 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e6bc53322c
commit
129e607239
|
@ -0,0 +1,23 @@
|
||||||
|
package org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column;
|
||||||
|
|
||||||
|
public enum TimeDimensionType {
|
||||||
|
Day("Day"),
|
||||||
|
Month("Month"),
|
||||||
|
Quarter("Quarter"),
|
||||||
|
Year("Year");
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
private TimeDimensionType(final String time) {
|
||||||
|
this.time = time;
|
||||||
|
}
|
||||||
|
|
||||||
|
private final String time;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return time;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue