com.garmin.fit
Class UserLocalId

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

public class UserLocalId
extends java.lang.Object


Field Summary
static int INVALID
           
static int LOCAL_MAX
           
static int LOCAL_MIN
           
static int PORTABLE_MAX
           
static int PORTABLE_MIN
           
static int STATIONARY_MAX
           
static int STATIONARY_MIN
           
 
Constructor Summary
UserLocalId()
           
 
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

LOCAL_MIN

public static final int LOCAL_MIN
See Also:
Constant Field Values

LOCAL_MAX

public static final int LOCAL_MAX
See Also:
Constant Field Values

STATIONARY_MIN

public static final int STATIONARY_MIN
See Also:
Constant Field Values

STATIONARY_MAX

public static final int STATIONARY_MAX
See Also:
Constant Field Values

PORTABLE_MIN

public static final int PORTABLE_MIN
See Also:
Constant Field Values

PORTABLE_MAX

public static final int PORTABLE_MAX
See Also:
Constant Field Values

INVALID

public static final int INVALID
Constructor Detail

UserLocalId

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