com.garmin.fit
Class SportBits3

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

public class SportBits3
extends java.lang.Object


Field Summary
static short DRIVING
           
static short FISHING
           
static short GOLF
           
static short HANG_GLIDING
           
static short HORSEBACK_RIDING
           
static short HUNTING
           
static short INLINE_SKATING
           
static short INVALID
           
static short ROCK_CLIMBING
           
 
Constructor Summary
SportBits3()
           
 
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

DRIVING

public static final short DRIVING
See Also:
Constant Field Values

GOLF

public static final short GOLF
See Also:
Constant Field Values

HANG_GLIDING

public static final short HANG_GLIDING
See Also:
Constant Field Values

HORSEBACK_RIDING

public static final short HORSEBACK_RIDING
See Also:
Constant Field Values

HUNTING

public static final short HUNTING
See Also:
Constant Field Values

FISHING

public static final short FISHING
See Also:
Constant Field Values

INLINE_SKATING

public static final short INLINE_SKATING
See Also:
Constant Field Values

ROCK_CLIMBING

public static final short ROCK_CLIMBING
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SportBits3

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