public enum ActivitySubtype extends java.lang.Enum<ActivitySubtype>
Enum Constant and Description |
---|
ALL |
CYCLOCROSS |
DOWNHILL |
ELLIPTICAL |
GENERIC |
HAND_CYCLING |
INDOOR_CYCLING |
INDOOR_ROWING |
INVALID |
LAP_SWIMMING |
MOUNTAIN |
OPEN_WATER |
RECUMBENT |
ROAD |
SPIN |
STAIR_CLIMBING |
STREET |
TRACK |
TRACK_CYCLING |
TRAIL |
TREADMILL |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static ActivitySubtype |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(ActivitySubtype value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static ActivitySubtype |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivitySubtype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivitySubtype GENERIC
public static final ActivitySubtype TREADMILL
public static final ActivitySubtype STREET
public static final ActivitySubtype TRAIL
public static final ActivitySubtype TRACK
public static final ActivitySubtype SPIN
public static final ActivitySubtype INDOOR_CYCLING
public static final ActivitySubtype ROAD
public static final ActivitySubtype MOUNTAIN
public static final ActivitySubtype DOWNHILL
public static final ActivitySubtype RECUMBENT
public static final ActivitySubtype CYCLOCROSS
public static final ActivitySubtype HAND_CYCLING
public static final ActivitySubtype TRACK_CYCLING
public static final ActivitySubtype INDOOR_ROWING
public static final ActivitySubtype ELLIPTICAL
public static final ActivitySubtype STAIR_CLIMBING
public static final ActivitySubtype LAP_SWIMMING
public static final ActivitySubtype OPEN_WATER
public static final ActivitySubtype ALL
public static final ActivitySubtype INVALID
public static ActivitySubtype[] values()
for (ActivitySubtype c : ActivitySubtype.values()) System.out.println(c);
public static ActivitySubtype valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ActivitySubtype getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(ActivitySubtype value)
value
- The enum constantpublic short getValue()