com.garmin.fit
Class FitBaseType

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

public class FitBaseType
extends java.lang.Object


Field Summary
static short BYTE
           
static short ENUM
           
static short FLOAT32
           
static short FLOAT64
           
static short INVALID
           
static short SINT16
           
static short SINT32
           
static short SINT64
           
static short SINT8
           
static short STRING
           
static short UINT16
           
static short UINT16Z
           
static short UINT32
           
static short UINT32Z
           
static short UINT64
           
static short UINT64Z
           
static short UINT8
           
static short UINT8Z
           
 
Constructor Summary
FitBaseType()
           
 
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

ENUM

public static final short ENUM
See Also:
Constant Field Values

SINT8

public static final short SINT8
See Also:
Constant Field Values

UINT8

public static final short UINT8
See Also:
Constant Field Values

SINT16

public static final short SINT16
See Also:
Constant Field Values

UINT16

public static final short UINT16
See Also:
Constant Field Values

SINT32

public static final short SINT32
See Also:
Constant Field Values

UINT32

public static final short UINT32
See Also:
Constant Field Values

STRING

public static final short STRING
See Also:
Constant Field Values

FLOAT32

public static final short FLOAT32
See Also:
Constant Field Values

FLOAT64

public static final short FLOAT64
See Also:
Constant Field Values

UINT8Z

public static final short UINT8Z
See Also:
Constant Field Values

UINT16Z

public static final short UINT16Z
See Also:
Constant Field Values

UINT32Z

public static final short UINT32Z
See Also:
Constant Field Values

BYTE

public static final short BYTE
See Also:
Constant Field Values

SINT64

public static final short SINT64
See Also:
Constant Field Values

UINT64

public static final short UINT64
See Also:
Constant Field Values

UINT64Z

public static final short UINT64Z
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

FitBaseType

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