com.garmin.fit
Enum BodyLocation

java.lang.Object
  extended by java.lang.Enum<BodyLocation>
      extended by com.garmin.fit.BodyLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BodyLocation>

public enum BodyLocation
extends java.lang.Enum<BodyLocation>


Enum Constant Summary
INVALID
           
LEFT_ABDOMEN
           
LEFT_ARM
           
LEFT_BICEP
           
LEFT_BRACHIORADIALIS
           
LEFT_CALF
           
LEFT_CHEST
           
LEFT_FOREARM_EXTENSORS
           
LEFT_GLUTE
           
LEFT_HAMSTRING
           
LEFT_LEG
           
LEFT_LOWER_BACK
           
LEFT_QUAD
           
LEFT_SHIN
           
LEFT_SHOULDER
           
LEFT_TRICEP
           
LEFT_UPPER_BACK
           
NECK
           
RIGHT_ABDOMEN
           
RIGHT_ARM
           
RIGHT_BICEP
           
RIGHT_BRACHIORADIALIS
           
RIGHT_CALF
           
RIGHT_CHEST
           
RIGHT_FOREARM_EXTENSORS
           
RIGHT_GLUTE
           
RIGHT_HAMSTRING
           
RIGHT_LEG
           
RIGHT_LOWER_BACK
           
RIGHT_QUAD
           
RIGHT_SHIN
           
RIGHT_SHOULDER
           
RIGHT_TRICEP
           
RIGHT_UPPER_BACK
           
THROAT
           
TORSO_BACK
           
TORSO_FRONT
           
WAIST_FRONT
           
WAIST_LEFT
           
WAIST_MID_BACK
           
WAIST_RIGHT
           
 
Field Summary
protected  short value
           
 
Method Summary
static BodyLocation getByValue(java.lang.Short value)
           
static java.lang.String getStringFromValue(BodyLocation value)
          Retrieves the String Representation of the Value
 short getValue()
           
static BodyLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BodyLocation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT_LEG

public static final BodyLocation LEFT_LEG

LEFT_CALF

public static final BodyLocation LEFT_CALF

LEFT_SHIN

public static final BodyLocation LEFT_SHIN

LEFT_HAMSTRING

public static final BodyLocation LEFT_HAMSTRING

LEFT_QUAD

public static final BodyLocation LEFT_QUAD

LEFT_GLUTE

public static final BodyLocation LEFT_GLUTE

RIGHT_LEG

public static final BodyLocation RIGHT_LEG

RIGHT_CALF

public static final BodyLocation RIGHT_CALF

RIGHT_SHIN

public static final BodyLocation RIGHT_SHIN

RIGHT_HAMSTRING

public static final BodyLocation RIGHT_HAMSTRING

RIGHT_QUAD

public static final BodyLocation RIGHT_QUAD

RIGHT_GLUTE

public static final BodyLocation RIGHT_GLUTE

TORSO_BACK

public static final BodyLocation TORSO_BACK

LEFT_LOWER_BACK

public static final BodyLocation LEFT_LOWER_BACK

LEFT_UPPER_BACK

public static final BodyLocation LEFT_UPPER_BACK

RIGHT_LOWER_BACK

public static final BodyLocation RIGHT_LOWER_BACK

RIGHT_UPPER_BACK

public static final BodyLocation RIGHT_UPPER_BACK

TORSO_FRONT

public static final BodyLocation TORSO_FRONT

LEFT_ABDOMEN

public static final BodyLocation LEFT_ABDOMEN

LEFT_CHEST

public static final BodyLocation LEFT_CHEST

RIGHT_ABDOMEN

public static final BodyLocation RIGHT_ABDOMEN

RIGHT_CHEST

public static final BodyLocation RIGHT_CHEST

LEFT_ARM

public static final BodyLocation LEFT_ARM

LEFT_SHOULDER

public static final BodyLocation LEFT_SHOULDER

LEFT_BICEP

public static final BodyLocation LEFT_BICEP

LEFT_TRICEP

public static final BodyLocation LEFT_TRICEP

LEFT_BRACHIORADIALIS

public static final BodyLocation LEFT_BRACHIORADIALIS

LEFT_FOREARM_EXTENSORS

public static final BodyLocation LEFT_FOREARM_EXTENSORS

RIGHT_ARM

public static final BodyLocation RIGHT_ARM

RIGHT_SHOULDER

public static final BodyLocation RIGHT_SHOULDER

RIGHT_BICEP

public static final BodyLocation RIGHT_BICEP

RIGHT_TRICEP

public static final BodyLocation RIGHT_TRICEP

RIGHT_BRACHIORADIALIS

public static final BodyLocation RIGHT_BRACHIORADIALIS

RIGHT_FOREARM_EXTENSORS

public static final BodyLocation RIGHT_FOREARM_EXTENSORS

NECK

public static final BodyLocation NECK

THROAT

public static final BodyLocation THROAT

WAIST_MID_BACK

public static final BodyLocation WAIST_MID_BACK

WAIST_FRONT

public static final BodyLocation WAIST_FRONT

WAIST_LEFT

public static final BodyLocation WAIST_LEFT

WAIST_RIGHT

public static final BodyLocation WAIST_RIGHT

INVALID

public static final BodyLocation INVALID
Field Detail

value

protected short value
Method Detail

values

public static BodyLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BodyLocation c : BodyLocation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BodyLocation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getByValue

public static BodyLocation getByValue(java.lang.Short value)

getStringFromValue

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

Returns:
The string representation of the value

getValue

public short getValue()