com.garmin.fit
Class SetType

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

public class SetType
extends java.lang.Object


Field Summary
static short ACTIVE
           
static short INVALID
           
static short REST
           
 
Constructor Summary
SetType()
           
 
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

REST

public static final short REST
See Also:
Constant Field Values

ACTIVE

public static final short ACTIVE
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

SetType

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