com.garmin.fit
Class DeviceIndex

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

public class DeviceIndex
extends java.lang.Object


Field Summary
static short CREATOR
           
static short INVALID
           
 
Constructor Summary
DeviceIndex()
           
 
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

CREATOR

public static final short CREATOR
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

DeviceIndex

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