com.garmin.fit
Class MessageIndex

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

public class MessageIndex
extends java.lang.Object


Field Summary
static int INVALID
           
static int MASK
           
static int RESERVED
           
static int SELECTED
           
 
Constructor Summary
MessageIndex()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Integer value)
          Retrieves the String Representation of the Value
static java.lang.Integer 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

SELECTED

public static final int SELECTED
See Also:
Constant Field Values

RESERVED

public static final int RESERVED
See Also:
Constant Field Values

MASK

public static final int MASK
See Also:
Constant Field Values

INVALID

public static final int INVALID
Constructor Detail

MessageIndex

public MessageIndex()
Method Detail

getStringFromValue

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

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

getValueFromString

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

Returns:
The value or INVALID if unkwown