com.garmin.fit
Class SportBits0

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

public class SportBits0
extends java.lang.Object


Field Summary
static short BASKETBALL
           
static short CYCLING
           
static short FITNESS_EQUIPMENT
           
static short GENERIC
           
static short INVALID
           
static short RUNNING
           
static short SOCCER
           
static short SWIMMING
           
static short TRANSITION
           
 
Constructor Summary
SportBits0()
           
 
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

GENERIC

public static final short GENERIC
See Also:
Constant Field Values

RUNNING

public static final short RUNNING
See Also:
Constant Field Values

CYCLING

public static final short CYCLING
See Also:
Constant Field Values

TRANSITION

public static final short TRANSITION
See Also:
Constant Field Values

FITNESS_EQUIPMENT

public static final short FITNESS_EQUIPMENT
See Also:
Constant Field Values

SWIMMING

public static final short SWIMMING
See Also:
Constant Field Values

BASKETBALL

public static final short BASKETBALL
See Also:
Constant Field Values

SOCCER

public static final short SOCCER
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SportBits0

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