com.webalgorithm.weather.vo
Class BarometerVO

java.lang.Object
  |
  +--com.webalgorithm.weather.vo.BarometerVO
All Implemented Interfaces:
java.io.Serializable

public class BarometerVO
extends java.lang.Object
implements java.io.Serializable

Description: Barometer reading

Copyright: Copyright (c) 2003

Company: WebAlgorithm, Inc

Version:
1.0
See Also:
Serialized Form

Field Summary
private  java.lang.String description
          description of pressure effect.
private  java.lang.Float pressure
          pressure in inches
 
Constructor Summary
BarometerVO()
           
 
Method Summary
 java.lang.String getDescription()
          Retrieves description of pressure
 java.lang.Float getPressure()
          Retrieves barometer pressure
 void setDescription(java.lang.String description)
          Sets the pressure description
 void setPressure(java.lang.Float pressure)
          Sets barometer pressure
 java.lang.String toString()
          This method is usefull for debugging, it returns a formatted barometer information, which is easy to read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pressure

private java.lang.Float pressure
pressure in inches


description

private java.lang.String description
description of pressure effect. For example: "falling"

Constructor Detail

BarometerVO

public BarometerVO()
Method Detail

getPressure

public java.lang.Float getPressure()
Retrieves barometer pressure

Returns:
pressure in inches

setPressure

public void setPressure(java.lang.Float pressure)
Sets barometer pressure


getDescription

public java.lang.String getDescription()
Retrieves description of pressure

Returns:
pressure description

setDescription

public void setDescription(java.lang.String description)
Sets the pressure description

Parameters:
description - pressure description

toString

public java.lang.String toString()
This method is usefull for debugging, it returns a formatted barometer information, which is easy to read

Overrides:
toString in class java.lang.Object
Returns:


Copyright © 2003 WebAlgorithm, Inc All Rights Reserved.