Package com.medm.devicekit
Enum MeasurementType
- java.lang.Object
-
- java.lang.Enum<MeasurementType>
-
- com.medm.devicekit.MeasurementType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MeasurementType>
public enum MeasurementType extends java.lang.Enum<MeasurementType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Activity
BloodPressure
Cholesterol
ECG
Exercise
Fetaldoppler
Glucose
HeartRate
Ketone
Lactate
Note
Oxygen
RespirationRate
Sleep
Spirometry
Temperature
UricAcid
Weight
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
static MeasurementType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MeasurementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ECG
public static final MeasurementType ECG
-
BloodPressure
public static final MeasurementType BloodPressure
-
Glucose
public static final MeasurementType Glucose
-
Oxygen
public static final MeasurementType Oxygen
-
Temperature
public static final MeasurementType Temperature
-
Weight
public static final MeasurementType Weight
-
HeartRate
public static final MeasurementType HeartRate
-
Spirometry
public static final MeasurementType Spirometry
-
Fetaldoppler
public static final MeasurementType Fetaldoppler
-
Activity
public static final MeasurementType Activity
-
Sleep
public static final MeasurementType Sleep
-
Note
public static final MeasurementType Note
-
RespirationRate
public static final MeasurementType RespirationRate
-
Lactate
public static final MeasurementType Lactate
-
Cholesterol
public static final MeasurementType Cholesterol
-
Ketone
public static final MeasurementType Ketone
-
UricAcid
public static final MeasurementType UricAcid
-
Exercise
public static final MeasurementType Exercise
-
-
Method Detail
-
values
public static MeasurementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MeasurementType c : MeasurementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MeasurementType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDescription
public java.lang.String getDescription()
-
-