com.garmin.fit
Enum WeatherStatus

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

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


Enum Constant Summary
CLEAR
           
CLOUDY
           
FOG
           
HAIL
           
HAZY
           
HEAVY_RAIN
           
HEAVY_RAIN_SNOW
           
HEAVY_SNOW
           
INVALID
           
LIGHT_RAIN
           
LIGHT_RAIN_SNOW
           
LIGHT_SNOW
           
MOSTLY_CLOUDY
           
PARTLY_CLOUDY
           
RAIN
           
SCATTERED_SHOWERS
           
SCATTERED_THUNDERSTORMS
           
SNOW
           
THUNDERSTORMS
           
UNKNOWN_PRECIPITATION
           
WINDY
           
WINTRY_MIX
           
 
Field Summary
protected  short value
           
 
Method Summary
static WeatherStatus getByValue(java.lang.Short value)
           
static java.lang.String getStringFromValue(WeatherStatus value)
          Retrieves the String Representation of the Value
 short getValue()
           
static WeatherStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WeatherStatus[] 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

CLEAR

public static final WeatherStatus CLEAR

PARTLY_CLOUDY

public static final WeatherStatus PARTLY_CLOUDY

MOSTLY_CLOUDY

public static final WeatherStatus MOSTLY_CLOUDY

RAIN

public static final WeatherStatus RAIN

SNOW

public static final WeatherStatus SNOW

WINDY

public static final WeatherStatus WINDY

THUNDERSTORMS

public static final WeatherStatus THUNDERSTORMS

WINTRY_MIX

public static final WeatherStatus WINTRY_MIX

FOG

public static final WeatherStatus FOG

HAZY

public static final WeatherStatus HAZY

HAIL

public static final WeatherStatus HAIL

SCATTERED_SHOWERS

public static final WeatherStatus SCATTERED_SHOWERS

SCATTERED_THUNDERSTORMS

public static final WeatherStatus SCATTERED_THUNDERSTORMS

UNKNOWN_PRECIPITATION

public static final WeatherStatus UNKNOWN_PRECIPITATION

LIGHT_RAIN

public static final WeatherStatus LIGHT_RAIN

HEAVY_RAIN

public static final WeatherStatus HEAVY_RAIN

LIGHT_SNOW

public static final WeatherStatus LIGHT_SNOW

HEAVY_SNOW

public static final WeatherStatus HEAVY_SNOW

LIGHT_RAIN_SNOW

public static final WeatherStatus LIGHT_RAIN_SNOW

HEAVY_RAIN_SNOW

public static final WeatherStatus HEAVY_RAIN_SNOW

CLOUDY

public static final WeatherStatus CLOUDY

INVALID

public static final WeatherStatus INVALID
Field Detail

value

protected short value
Method Detail

values

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

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

valueOf

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

getStringFromValue

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

Returns:
The string representation of the value

getValue

public short getValue()