com.garmin.fit
Class WorkoutCapabilities

java.lang.Object
  extended by com.garmin.fit.WorkoutCapabilities

public class WorkoutCapabilities
extends java.lang.Object


Field Summary
static long CADENCE
           
static long CUSTOM
           
static long DISTANCE
           
static long FIRSTBEAT
           
static long FITNESS_EQUIPMENT
           
static long GRADE
           
static long HEART_RATE
           
static long INTERVAL
           
static long INVALID
           
static long NEW_LEAF
           
static long POWER
           
static long PROTECTED
           
static long RESISTANCE
           
static long SPEED
           
static long TCX
           
 
Constructor Summary
WorkoutCapabilities()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Long value)
          Retrieves the String Representation of the Value
static java.lang.Long getValueFromString(java.lang.String value)
          Retrieves a value given a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERVAL

public static final long INTERVAL
See Also:
Constant Field Values

CUSTOM

public static final long CUSTOM
See Also:
Constant Field Values

FITNESS_EQUIPMENT

public static final long FITNESS_EQUIPMENT
See Also:
Constant Field Values

FIRSTBEAT

public static final long FIRSTBEAT
See Also:
Constant Field Values

NEW_LEAF

public static final long NEW_LEAF
See Also:
Constant Field Values

TCX

public static final long TCX
See Also:
Constant Field Values

SPEED

public static final long SPEED
See Also:
Constant Field Values

HEART_RATE

public static final long HEART_RATE
See Also:
Constant Field Values

DISTANCE

public static final long DISTANCE
See Also:
Constant Field Values

CADENCE

public static final long CADENCE
See Also:
Constant Field Values

POWER

public static final long POWER
See Also:
Constant Field Values

GRADE

public static final long GRADE
See Also:
Constant Field Values

RESISTANCE

public static final long RESISTANCE
See Also:
Constant Field Values

PROTECTED

public static final long PROTECTED
See Also:
Constant Field Values

INVALID

public static final long INVALID
Constructor Detail

WorkoutCapabilities

public WorkoutCapabilities()
Method Detail

getStringFromValue

public static java.lang.String getStringFromValue(java.lang.Long value)
Retrieves the String Representation of the Value

Returns:
The string representation of the value, or empty if unknown

getValueFromString

public static java.lang.Long getValueFromString(java.lang.String value)
Retrieves a value given a string representation

Returns:
The value or INVALID if unkwown