com.sun.syndication.feed.module.yahooweather.types
Class Atmosphere.PressureChange

java.lang.Object
  extended by com.sun.syndication.feed.module.yahooweather.types.Atmosphere.PressureChange
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Atmosphere

public static class Atmosphere.PressureChange
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static Atmosphere.PressureChange FALLING
           
static Atmosphere.PressureChange RISING
           
static Atmosphere.PressureChange STEADY
           
 
Method Summary
static Atmosphere.PressureChange fromCode(int code)
          Gets a PressureChange instance for this int code.
 int getCode()
          The integer code for this chage state
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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:
java.lang.RuntimeException - if no 0, 1, or 2.


Copyright © 2006-2009. All Rights Reserved.