com.garmin.fit
Class SportBits2

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

public class SportBits2
extends java.lang.Object


Field Summary
static short BOATING
           
static short E_BIKING
           
static short FLYING
           
static short HIKING
           
static short INVALID
           
static short MOTORCYCLING
           
static short MOUNTAINEERING
           
static short MULTISPORT
           
static short PADDLING
           
 
Constructor Summary
SportBits2()
           
 
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

MOUNTAINEERING

public static final short MOUNTAINEERING
See Also:
Constant Field Values

HIKING

public static final short HIKING
See Also:
Constant Field Values

MULTISPORT

public static final short MULTISPORT
See Also:
Constant Field Values

PADDLING

public static final short PADDLING
See Also:
Constant Field Values

FLYING

public static final short FLYING
See Also:
Constant Field Values

E_BIKING

public static final short E_BIKING
See Also:
Constant Field Values

MOTORCYCLING

public static final short MOTORCYCLING
See Also:
Constant Field Values

BOATING

public static final short BOATING
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SportBits2

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