com.garmin.fit
Class CourseCapabilities

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

public class CourseCapabilities
extends java.lang.Object


Field Summary
static long BIKEWAY
           
static long CADENCE
           
static long DISTANCE
           
static long HEART_RATE
           
static long INVALID
           
static long NAVIGATION
           
static long POSITION
           
static long POWER
           
static long PROCESSED
           
static long TIME
           
static long TRAINING
           
static long VALID
           
 
Constructor Summary
CourseCapabilities()
           
 
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

PROCESSED

public static final long PROCESSED
See Also:
Constant Field Values

VALID

public static final long VALID
See Also:
Constant Field Values

TIME

public static final long TIME
See Also:
Constant Field Values

DISTANCE

public static final long DISTANCE
See Also:
Constant Field Values

POSITION

public static final long POSITION
See Also:
Constant Field Values

HEART_RATE

public static final long HEART_RATE
See Also:
Constant Field Values

POWER

public static final long POWER
See Also:
Constant Field Values

CADENCE

public static final long CADENCE
See Also:
Constant Field Values

TRAINING

public static final long TRAINING
See Also:
Constant Field Values

NAVIGATION

public static final long NAVIGATION
See Also:
Constant Field Values

BIKEWAY

public static final long BIKEWAY
See Also:
Constant Field Values

INVALID

public static final long INVALID
Constructor Detail

CourseCapabilities

public CourseCapabilities()
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