public enum DataType extends Enum<DataType>
Modifier and Type | Class and Description |
---|---|
static class |
DataType.Adapter |
Enum Constant and Description |
---|
BLOODPRESSURE |
BOOLEAN |
DATE |
DATETIME |
DECIMAL |
DURATION |
HEIGHT |
INTEGER |
POSTALCODE |
STRING |
TIME |
WEIGHT |
YEAR |
YEARMONTH |
Modifier and Type | Method and Description |
---|---|
static DataType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
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 DURATION
public static final DataType STRING
public static final DataType INTEGER
public static final DataType DECIMAL
public static final DataType BOOLEAN
public static final DataType DATE
public static final DataType TIME
public static final DataType DATETIME
public static final DataType BLOODPRESSURE
public static final DataType HEIGHT
public static final DataType WEIGHT
public static final DataType YEARMONTH
public static final DataType YEAR
public static final DataType POSTALCODE
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 getValue()
Copyright © 2022 Sage Bionetworks. All rights reserved.