com.garmin.fit
Class SportBits1

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

public class SportBits1
extends java.lang.Object


Field Summary
static short ALPINE_SKIING
           
static short AMERICAN_FOOTBALL
           
static short CROSS_COUNTRY_SKIING
           
static short INVALID
           
static short ROWING
           
static short SNOWBOARDING
           
static short TENNIS
           
static short TRAINING
           
static short WALKING
           
 
Constructor Summary
SportBits1()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Short value)
          Retrieves the String Representation of the Value
static java.lang.Short 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

TENNIS

public static final short TENNIS
See Also:
Constant Field Values

AMERICAN_FOOTBALL

public static final short AMERICAN_FOOTBALL
See Also:
Constant Field Values

TRAINING

public static final short TRAINING
See Also:
Constant Field Values

WALKING

public static final short WALKING
See Also:
Constant Field Values

CROSS_COUNTRY_SKIING

public static final short CROSS_COUNTRY_SKIING
See Also:
Constant Field Values

ALPINE_SKIING

public static final short ALPINE_SKIING
See Also:
Constant Field Values

SNOWBOARDING

public static final short SNOWBOARDING
See Also:
Constant Field Values

ROWING

public static final short ROWING
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SportBits1

public SportBits1()
Method Detail

getStringFromValue

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

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

getValueFromString

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

Returns:
The value or INVALID if unkwown