diff --git a/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/geospatial/CSquareDownscaleResolution.java b/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/geospatial/CSquareDownscaleResolution.java deleted file mode 100644 index b93fd49..0000000 --- a/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/geospatial/CSquareDownscaleResolution.java +++ /dev/null @@ -1,64 +0,0 @@ -package org.gcube.portlets.user.td.widgetcommonevent.shared.geospatial; - -import java.util.Arrays; -import java.util.List; - -/** - * - * @author "Giancarlo Panichi" g.panichi@isti.cnr.it - * - */ -public enum CSquareDownscaleResolution { - TEN("10"), - FIVE("5"), - ONE("1"), - HALF_DEGREE("0.5"), - TENTH_DEGREE("0.1"), - HALF_TENTH("0.05"), - CENTH_DEGREE("0.01"), - HALF_CENTH("0.005"), - MILLI_DEGREE("0.001"), - HALF_MILLI("0.0005"); - - /** - * @param text - */ - private CSquareDownscaleResolution(final String id) { - this.id = id; - } - - private final String id; - - @Override - public String toString() { - return id; - } - - public String getId() { - return id; - } - - - public static List getList(){ - return Arrays.asList(values()); - - } - - - public static CSquareDownscaleResolution getGeospatialCoordinatesTypeFromId( - String id) { - for(CSquareDownscaleResolution v:values()){ - if (id.compareTo(v.id) == 0) { - return v; - } - } - return null; - } - - public String getLabel(){ - return id; - } - - -}