com.garmin.fit
Class WeatherConditionsMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.WeatherConditionsMesg

public class WeatherConditionsMesg
extends Mesg


Field Summary
static int ConditionFieldNum
           
static int DayOfWeekFieldNum
           
static int HighTemperatureFieldNum
           
static int LocationFieldNum
           
static int LowTemperatureFieldNum
           
static int ObservedAtTimeFieldNum
           
static int ObservedLocationLatFieldNum
           
static int ObservedLocationLongFieldNum
           
static int PrecipitationProbabilityFieldNum
           
static int RelativeHumidityFieldNum
           
static int TemperatureFeelsLikeFieldNum
           
static int TemperatureFieldNum
           
static int TimestampFieldNum
           
protected static Mesg weatherConditionsMesg
           
static int WeatherReportFieldNum
           
static int WindDirectionFieldNum
           
static int WindSpeedFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
WeatherConditionsMesg()
           
WeatherConditionsMesg(Mesg mesg)
           
 
Method Summary
 WeatherStatus getCondition()
          Get condition field Comment: Corresponds to GSC Response weatherIcon field
 DayOfWeek getDayOfWeek()
          Get day_of_week field
 java.lang.Byte getHighTemperature()
          Get high_temperature field Units: C
 java.lang.String getLocation()
          Get location field Comment: string corresponding to GCS response location string
 java.lang.Byte getLowTemperature()
          Get low_temperature field Units: C
 DateTime getObservedAtTime()
          Get observed_at_time field
 java.lang.Integer getObservedLocationLat()
          Get observed_location_lat field Units: semicircles
 java.lang.Integer getObservedLocationLong()
          Get observed_location_long field Units: semicircles
 java.lang.Short getPrecipitationProbability()
          Get precipitation_probability field Comment: range 0-100
 java.lang.Short getRelativeHumidity()
          Get relative_humidity field
 java.lang.Byte getTemperature()
          Get temperature field Units: C
 java.lang.Byte getTemperatureFeelsLike()
          Get temperature_feels_like field Units: C Comment: Heat Index if GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F
 DateTime getTimestamp()
          Get timestamp field Comment: time of update for current conditions, else forecast time
 WeatherReport getWeatherReport()
          Get weather_report field Comment: Current or forecast
 java.lang.Integer getWindDirection()
          Get wind_direction field Units: degrees
 java.lang.Float getWindSpeed()
          Get wind_speed field Units: m/s
 void setCondition(WeatherStatus condition)
          Set condition field Comment: Corresponds to GSC Response weatherIcon field
 void setDayOfWeek(DayOfWeek dayOfWeek)
          Set day_of_week field
 void setHighTemperature(java.lang.Byte highTemperature)
          Set high_temperature field Units: C
 void setLocation(java.lang.String location)
          Set location field Comment: string corresponding to GCS response location string
 void setLowTemperature(java.lang.Byte lowTemperature)
          Set low_temperature field Units: C
 void setObservedAtTime(DateTime observedAtTime)
          Set observed_at_time field
 void setObservedLocationLat(java.lang.Integer observedLocationLat)
          Set observed_location_lat field Units: semicircles
 void setObservedLocationLong(java.lang.Integer observedLocationLong)
          Set observed_location_long field Units: semicircles
 void setPrecipitationProbability(java.lang.Short precipitationProbability)
          Set precipitation_probability field Comment: range 0-100
 void setRelativeHumidity(java.lang.Short relativeHumidity)
          Set relative_humidity field
 void setTemperature(java.lang.Byte temperature)
          Set temperature field Units: C
 void setTemperatureFeelsLike(java.lang.Byte temperatureFeelsLike)
          Set temperature_feels_like field Units: C Comment: Heat Index if GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F
 void setTimestamp(DateTime timestamp)
          Set timestamp field Comment: time of update for current conditions, else forecast time
 void setWeatherReport(WeatherReport weatherReport)
          Set weather_report field Comment: Current or forecast
 void setWindDirection(java.lang.Integer windDirection)
          Set wind_direction field Units: degrees
 void setWindSpeed(java.lang.Float windSpeed)
          Set wind_speed field Units: m/s
 
Methods inherited from class com.garmin.fit.Mesg
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

WeatherReportFieldNum

public static final int WeatherReportFieldNum
See Also:
Constant Field Values

TemperatureFieldNum

public static final int TemperatureFieldNum
See Also:
Constant Field Values

ConditionFieldNum

public static final int ConditionFieldNum
See Also:
Constant Field Values

WindDirectionFieldNum

public static final int WindDirectionFieldNum
See Also:
Constant Field Values

WindSpeedFieldNum

public static final int WindSpeedFieldNum
See Also:
Constant Field Values

PrecipitationProbabilityFieldNum

public static final int PrecipitationProbabilityFieldNum
See Also:
Constant Field Values

TemperatureFeelsLikeFieldNum

public static final int TemperatureFeelsLikeFieldNum
See Also:
Constant Field Values

RelativeHumidityFieldNum

public static final int RelativeHumidityFieldNum
See Also:
Constant Field Values

LocationFieldNum

public static final int LocationFieldNum
See Also:
Constant Field Values

ObservedAtTimeFieldNum

public static final int ObservedAtTimeFieldNum
See Also:
Constant Field Values

ObservedLocationLatFieldNum

public static final int ObservedLocationLatFieldNum
See Also:
Constant Field Values

ObservedLocationLongFieldNum

public static final int ObservedLocationLongFieldNum
See Also:
Constant Field Values

DayOfWeekFieldNum

public static final int DayOfWeekFieldNum
See Also:
Constant Field Values

HighTemperatureFieldNum

public static final int HighTemperatureFieldNum
See Also:
Constant Field Values

LowTemperatureFieldNum

public static final int LowTemperatureFieldNum
See Also:
Constant Field Values

weatherConditionsMesg

protected static final Mesg weatherConditionsMesg
Constructor Detail

WeatherConditionsMesg

public WeatherConditionsMesg()

WeatherConditionsMesg

public WeatherConditionsMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Comment: time of update for current conditions, else forecast time

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Comment: time of update for current conditions, else forecast time

Parameters:
timestamp -

getWeatherReport

public WeatherReport getWeatherReport()
Get weather_report field Comment: Current or forecast

Returns:
weather_report

setWeatherReport

public void setWeatherReport(WeatherReport weatherReport)
Set weather_report field Comment: Current or forecast

Parameters:
weatherReport -

getTemperature

public java.lang.Byte getTemperature()
Get temperature field Units: C

Returns:
temperature

setTemperature

public void setTemperature(java.lang.Byte temperature)
Set temperature field Units: C

Parameters:
temperature -

getCondition

public WeatherStatus getCondition()
Get condition field Comment: Corresponds to GSC Response weatherIcon field

Returns:
condition

setCondition

public void setCondition(WeatherStatus condition)
Set condition field Comment: Corresponds to GSC Response weatherIcon field

Parameters:
condition -

getWindDirection

public java.lang.Integer getWindDirection()
Get wind_direction field Units: degrees

Returns:
wind_direction

setWindDirection

public void setWindDirection(java.lang.Integer windDirection)
Set wind_direction field Units: degrees

Parameters:
windDirection -

getWindSpeed

public java.lang.Float getWindSpeed()
Get wind_speed field Units: m/s

Returns:
wind_speed

setWindSpeed

public void setWindSpeed(java.lang.Float windSpeed)
Set wind_speed field Units: m/s

Parameters:
windSpeed -

getPrecipitationProbability

public java.lang.Short getPrecipitationProbability()
Get precipitation_probability field Comment: range 0-100

Returns:
precipitation_probability

setPrecipitationProbability

public void setPrecipitationProbability(java.lang.Short precipitationProbability)
Set precipitation_probability field Comment: range 0-100

Parameters:
precipitationProbability -

getTemperatureFeelsLike

public java.lang.Byte getTemperatureFeelsLike()
Get temperature_feels_like field Units: C Comment: Heat Index if GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F

Returns:
temperature_feels_like

setTemperatureFeelsLike

public void setTemperatureFeelsLike(java.lang.Byte temperatureFeelsLike)
Set temperature_feels_like field Units: C Comment: Heat Index if GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F

Parameters:
temperatureFeelsLike -

getRelativeHumidity

public java.lang.Short getRelativeHumidity()
Get relative_humidity field

Returns:
relative_humidity

setRelativeHumidity

public void setRelativeHumidity(java.lang.Short relativeHumidity)
Set relative_humidity field

Parameters:
relativeHumidity -

getLocation

public java.lang.String getLocation()
Get location field Comment: string corresponding to GCS response location string

Returns:
location

setLocation

public void setLocation(java.lang.String location)
Set location field Comment: string corresponding to GCS response location string

Parameters:
location -

getObservedAtTime

public DateTime getObservedAtTime()
Get observed_at_time field

Returns:
observed_at_time

setObservedAtTime

public void setObservedAtTime(DateTime observedAtTime)
Set observed_at_time field

Parameters:
observedAtTime -

getObservedLocationLat

public java.lang.Integer getObservedLocationLat()
Get observed_location_lat field Units: semicircles

Returns:
observed_location_lat

setObservedLocationLat

public void setObservedLocationLat(java.lang.Integer observedLocationLat)
Set observed_location_lat field Units: semicircles

Parameters:
observedLocationLat -

getObservedLocationLong

public java.lang.Integer getObservedLocationLong()
Get observed_location_long field Units: semicircles

Returns:
observed_location_long

setObservedLocationLong

public void setObservedLocationLong(java.lang.Integer observedLocationLong)
Set observed_location_long field Units: semicircles

Parameters:
observedLocationLong -

getDayOfWeek

public DayOfWeek getDayOfWeek()
Get day_of_week field

Returns:
day_of_week

setDayOfWeek

public void setDayOfWeek(DayOfWeek dayOfWeek)
Set day_of_week field

Parameters:
dayOfWeek -

getHighTemperature

public java.lang.Byte getHighTemperature()
Get high_temperature field Units: C

Returns:
high_temperature

setHighTemperature

public void setHighTemperature(java.lang.Byte highTemperature)
Set high_temperature field Units: C

Parameters:
highTemperature -

getLowTemperature

public java.lang.Byte getLowTemperature()
Get low_temperature field Units: C

Returns:
low_temperature

setLowTemperature

public void setLowTemperature(java.lang.Byte lowTemperature)
Set low_temperature field Units: C

Parameters:
lowTemperature -