public enum DataType extends Enum<DataType> implements com.github.davidmoten.odata.client.Enum
| Enum Constant and Description |
|---|
BASE64 |
BOOLEAN |
BOOLEAN_ARRAY |
DATE_TIME |
DATE_TIME_ARRAY |
DOUBLE |
DOUBLE_ARRAY |
INT64 |
INT64ARRAY |
NONE |
STRING |
STRING_ARRAY |
VERSION |
VERSION_ARRAY |
XML |
| Modifier and Type | Method and Description |
|---|---|
String |
enumName() |
String |
enumValue() |
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 NONE
public static final DataType BOOLEAN
public static final DataType INT64
public static final DataType DOUBLE
public static final DataType STRING
public static final DataType DATE_TIME
public static final DataType VERSION
public static final DataType BASE64
public static final DataType XML
public static final DataType BOOLEAN_ARRAY
public static final DataType INT64ARRAY
public static final DataType DOUBLE_ARRAY
public static final DataType STRING_ARRAY
public static final DataType DATE_TIME_ARRAY
public static final DataType VERSION_ARRAY
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 enumName()
enumName in interface com.github.davidmoten.odata.client.Enumpublic String enumValue()
enumValue in interface com.github.davidmoten.odata.client.EnumCopyright © 2018–2020. All rights reserved.