com.garmin.fit
Enum CoursePoint

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

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


Enum Constant Summary
DANGER
           
FIRST_AID
           
FIRST_CATEGORY
           
FOOD
           
FOURTH_CATEGORY
           
GENERIC
           
HORS_CATEGORY
           
INVALID
           
LEFT
           
LEFT_FORK
           
MIDDLE_FORK
           
RIGHT
           
RIGHT_FORK
           
SECOND_CATEGORY
           
SEGMENT_END
           
SEGMENT_START
           
SHARP_LEFT
           
SHARP_RIGHT
           
SLIGHT_LEFT
           
SLIGHT_RIGHT
           
SPRINT
           
STRAIGHT
           
SUMMIT
           
THIRD_CATEGORY
           
U_TURN
           
VALLEY
           
WATER
           
 
Field Summary
protected  short value
           
 
Method Summary
static CoursePoint getByValue(java.lang.Short value)
           
static java.lang.String getStringFromValue(CoursePoint value)
          Retrieves the String Representation of the Value
 short getValue()
           
static CoursePoint valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CoursePoint[] 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

GENERIC

public static final CoursePoint GENERIC

SUMMIT

public static final CoursePoint SUMMIT

VALLEY

public static final CoursePoint VALLEY

WATER

public static final CoursePoint WATER

FOOD

public static final CoursePoint FOOD

DANGER

public static final CoursePoint DANGER

LEFT

public static final CoursePoint LEFT

RIGHT

public static final CoursePoint RIGHT

STRAIGHT

public static final CoursePoint STRAIGHT

FIRST_AID

public static final CoursePoint FIRST_AID

FOURTH_CATEGORY

public static final CoursePoint FOURTH_CATEGORY

THIRD_CATEGORY

public static final CoursePoint THIRD_CATEGORY

SECOND_CATEGORY

public static final CoursePoint SECOND_CATEGORY

FIRST_CATEGORY

public static final CoursePoint FIRST_CATEGORY

HORS_CATEGORY

public static final CoursePoint HORS_CATEGORY

SPRINT

public static final CoursePoint SPRINT

LEFT_FORK

public static final CoursePoint LEFT_FORK

RIGHT_FORK

public static final CoursePoint RIGHT_FORK

MIDDLE_FORK

public static final CoursePoint MIDDLE_FORK

SLIGHT_LEFT

public static final CoursePoint SLIGHT_LEFT

SHARP_LEFT

public static final CoursePoint SHARP_LEFT

SLIGHT_RIGHT

public static final CoursePoint SLIGHT_RIGHT

SHARP_RIGHT

public static final CoursePoint SHARP_RIGHT

U_TURN

public static final CoursePoint U_TURN

SEGMENT_START

public static final CoursePoint SEGMENT_START

SEGMENT_END

public static final CoursePoint SEGMENT_END

INVALID

public static final CoursePoint INVALID
Field Detail

value

protected short value
Method Detail

values

public static CoursePoint[] 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 (CoursePoint c : CoursePoint.values())
    System.out.println(c);

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

valueOf

public static CoursePoint 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 CoursePoint getByValue(java.lang.Short value)

getStringFromValue

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

Returns:
The string representation of the value

getValue

public short getValue()