public enum DataType extends Enum<DataType> implements StringValue<DataType>
| Modifier and Type | Method and Description |
|---|---|
static DataType |
fromValue(String v) |
String |
toString() |
String |
value() |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType STRING
public static final DataType INTEGER
public static final DataType FLOAT
public static final DataType DOUBLE
public static final DataType BOOLEAN
public static final DataType DATE
public static final DataType TIME
public static final DataType DATE_TIME
public static final DataType DATE_DAYS_SINCE_0
public static final DataType DATE_DAYS_SINCE_1960
public static final DataType DATE_DAYS_SINCE_1970
public static final DataType DATE_DAYS_SINCE_1980
public static final DataType DATE_DAYS_SINCE_1990
public static final DataType DATE_DAYS_SINCE_2000
public static final DataType DATE_DAYS_SINCE_2010
public static final DataType DATE_DAYS_SINCE_2020
public static final DataType TIME_SECONDS
public static final DataType DATE_TIME_SECONDS_SINCE_0
public static final DataType DATE_TIME_SECONDS_SINCE_1960
public static final DataType DATE_TIME_SECONDS_SINCE_1970
public static final DataType DATE_TIME_SECONDS_SINCE_1980
public static final DataType DATE_TIME_SECONDS_SINCE_1990
public static final DataType DATE_TIME_SECONDS_SINCE_2000
public static final DataType DATE_TIME_SECONDS_SINCE_2010
public static final DataType DATE_TIME_SECONDS_SINCE_2020
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
value in interface StringValue<DataType>Copyright © 2022. All rights reserved.