com.webalgorithm.weather.vo
Class WindVO

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

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

Description: Wind information

Copyright: Copyright (c) 2003

Company: WebAlgorithm, Inc

Version:
1.0
See Also:
Serialized Form

Field Summary
private  java.lang.String description
          Description of direction
private  java.lang.Integer direction
          Direction in degrees
private  java.lang.Integer gust
          Maximum wind gust speed
private  java.lang.Integer speed
          wind speed
 
Constructor Summary
WindVO()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.Integer getDirection()
           
 java.lang.String getDisplayDescription()
          Method generate a wind description for presentation.
 java.lang.Integer getGust()
           
 java.lang.Integer getSpeed()
           
 void setDescription(java.lang.String description)
           
 void setDirection(java.lang.Integer direction)
           
 void setGust(java.lang.Integer gust)
           
 void setSpeed(java.lang.Integer speed)
           
 java.lang.String toString()
          This method is usefull for debugging, it returns a formatted wind 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

direction

private java.lang.Integer direction
Direction in degrees


description

private java.lang.String description
Description of direction


gust

private java.lang.Integer gust
Maximum wind gust speed


speed

private java.lang.Integer speed
wind speed

Constructor Detail

WindVO

public WindVO()
Method Detail

getDirection

public java.lang.Integer getDirection()

setDirection

public void setDirection(java.lang.Integer direction)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getGust

public java.lang.Integer getGust()

setGust

public void setGust(java.lang.Integer gust)

getSpeed

public java.lang.Integer getSpeed()

setSpeed

public void setSpeed(java.lang.Integer speed)

getDisplayDescription

public java.lang.String getDisplayDescription()
Method generate a wind description for presentation.

Returns:
Wind description for presentation

toString

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

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


Copyright © 2003 WebAlgorithm, Inc All Rights Reserved.