Class Atmosphere.PressureChange
- java.lang.Object
-
- com.rometools.modules.yahooweather.types.Atmosphere.PressureChange
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Atmosphere
public static class Atmosphere.PressureChange extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Atmosphere.PressureChangeFALLINGstatic Atmosphere.PressureChangeRISINGstatic Atmosphere.PressureChangeSTEADY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Atmosphere.PressureChangefromCode(int code)Gets a PressureChange instance for this int code.intgetCode()The integer code for this chage stateStringtoString()
-
-
-
Field Detail
-
RISING
public static final Atmosphere.PressureChange RISING
-
STEADY
public static final Atmosphere.PressureChange STEADY
-
FALLING
public static final Atmosphere.PressureChange FALLING
-
-
Method Detail
-
getCode
public int getCode()
The integer code for this chage state- Returns:
- int code
-
fromCode
public static Atmosphere.PressureChange fromCode(int code)
Gets a PressureChange instance for this int code.- Parameters:
code- int code value- Returns:
- PressureChange instance
- Throws:
RuntimeException- if no 0, 1, or 2.
-
-