com.garmin.fit
Class SportBits4

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

public class SportBits4
extends java.lang.Object


Field Summary
static short ICE_SKATING
           
static short INVALID
           
static short SAILING
           
static short SKY_DIVING
           
static short SNOWMOBILING
           
static short SNOWSHOEING
           
static short STAND_UP_PADDLEBOARDING
           
static short SURFING
           
static short WAKEBOARDING
           
 
Constructor Summary
SportBits4()
           
 
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

SAILING

public static final short SAILING
See Also:
Constant Field Values

ICE_SKATING

public static final short ICE_SKATING
See Also:
Constant Field Values

SKY_DIVING

public static final short SKY_DIVING
See Also:
Constant Field Values

SNOWSHOEING

public static final short SNOWSHOEING
See Also:
Constant Field Values

SNOWMOBILING

public static final short SNOWMOBILING
See Also:
Constant Field Values

STAND_UP_PADDLEBOARDING

public static final short STAND_UP_PADDLEBOARDING
See Also:
Constant Field Values

SURFING

public static final short SURFING
See Also:
Constant Field Values

WAKEBOARDING

public static final short WAKEBOARDING
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SportBits4

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