2016-09-12 17:58:50 +02:00
|
|
|
package org.gcube.portlets.widgets.ckandatapublisherwidget.shared;
|
|
|
|
|
|
|
|
/**
|
2017-03-15 11:02:21 +01:00
|
|
|
* Data type.
|
|
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
2016-09-12 17:58:50 +02:00
|
|
|
*/
|
|
|
|
public enum DataType {
|
|
|
|
|
|
|
|
String,
|
2016-09-14 16:29:52 +02:00
|
|
|
Time,
|
|
|
|
Time_Interval,
|
|
|
|
Times_ListOf,
|
2016-09-12 17:58:50 +02:00
|
|
|
Text,
|
|
|
|
Boolean,
|
|
|
|
Number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Value.
|
|
|
|
*
|
|
|
|
* @return the string
|
|
|
|
*/
|
|
|
|
public String value() {
|
|
|
|
return name();
|
|
|
|
}
|
|
|
|
}
|