Enum ObservationFields
- java.lang.Object
-
- java.lang.Enum<ObservationFields>
-
- com.aerisweather.aeris.communication.fields.ObservationFields
-
- All Implemented Interfaces:
CodedInterface
,Serializable
,Comparable<ObservationFields>
public enum ObservationFields extends Enum<ObservationFields> implements CodedInterface
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the code for the defined object.static ObservationFields
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObservationFields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMESTAMP
public static final ObservationFields TIMESTAMP
-
DATETIME
public static final ObservationFields DATETIME
-
TEMP_F
public static final ObservationFields TEMP_F
-
TEMP_C
public static final ObservationFields TEMP_C
-
DEWPOINT_F
public static final ObservationFields DEWPOINT_F
-
DEWPOINT_C
public static final ObservationFields DEWPOINT_C
-
HUMIDITY
public static final ObservationFields HUMIDITY
-
PRESSURE_MB
public static final ObservationFields PRESSURE_MB
-
PRESSURE_IN
public static final ObservationFields PRESSURE_IN
-
WIND_KTS
public static final ObservationFields WIND_KTS
-
WIND_KPH
public static final ObservationFields WIND_KPH
-
WIND_MPH
public static final ObservationFields WIND_MPH
-
WIND_DIR_DEG
public static final ObservationFields WIND_DIR_DEG
-
WIND_DIR
public static final ObservationFields WIND_DIR
-
WIND_GUST_KTS
public static final ObservationFields WIND_GUST_KTS
-
WIND_GUST_KPH
public static final ObservationFields WIND_GUST_KPH
-
WIND_GUST_MPH
public static final ObservationFields WIND_GUST_MPH
-
FLIGHT_RULE
public static final ObservationFields FLIGHT_RULE
-
VISIBILITY_KM
public static final ObservationFields VISIBILITY_KM
-
VISIBILITY_MI
public static final ObservationFields VISIBILITY_MI
-
WEATHER
public static final ObservationFields WEATHER
-
WEATHER_SHORT
public static final ObservationFields WEATHER_SHORT
-
WEATHER_CODED
public static final ObservationFields WEATHER_CODED
-
WEATHER_PRIMARY
public static final ObservationFields WEATHER_PRIMARY
-
WEATHER_PRIMARY_CODED
public static final ObservationFields WEATHER_PRIMARY_CODED
-
CLOUDS_CODED
public static final ObservationFields CLOUDS_CODED
-
ICON
public static final ObservationFields ICON
-
HEAT_INDEX_F
public static final ObservationFields HEAT_INDEX_F
-
HEAT_INDEX_C
public static final ObservationFields HEAT_INDEX_C
-
WINDCHILL_F
public static final ObservationFields WINDCHILL_F
-
WINDCHILL_C
public static final ObservationFields WINDCHILL_C
-
FEELS_LIKE_F
public static final ObservationFields FEELS_LIKE_F
-
FEELS_LIKE_C
public static final ObservationFields FEELS_LIKE_C
-
IS_DAY
public static final ObservationFields IS_DAY
-
SUNRISE
public static final ObservationFields SUNRISE
-
SUNRISE_ISO
public static final ObservationFields SUNRISE_ISO
-
SUNSET
public static final ObservationFields SUNSET
-
SUNSET_ISO
public static final ObservationFields SUNSET_ISO
-
SNOW_DEPTH_CM
public static final ObservationFields SNOW_DEPTH_CM
-
SNOW_DEPTH_IN
public static final ObservationFields SNOW_DEPTH_IN
-
YMD
public static final ObservationFields YMD
-
-
Field Detail
-
code
public String code
-
-
Method Detail
-
values
public static ObservationFields[] 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 (ObservationFields c : ObservationFields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationFields valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public String getCode()
Description copied from interface:CodedInterface
Get the code for the defined object.- Specified by:
getCode
in interfaceCodedInterface
- Returns:
- String code to be used in requests.
-
-