FileDocCategorySizeDatePackage
DailyForecast.javaAPI DocExample930Fri May 14 00:21:38 BST 2004com.oreilly.strutsckbk.ch04

DailyForecast

public class DailyForecast extends Object

Fields Summary
private String
day
private int
chancePrecip
private float
rainfall
Constructors Summary
public DailyForecast(String day, int chanceOfPrecip)

		this.day = day;
		this.chancePrecip = chanceOfPrecip;
	
public DailyForecast(String day, int chanceOfPrecip, float rainfall)

		this.day = day;
		this.chancePrecip = chanceOfPrecip;
		this.rainfall = rainfall;
	
Methods Summary
public intgetChancePrecip()

		return chancePrecip;
	
public java.lang.StringgetDay()

		return day;
	
public floatgetRainfall()

return
Returns the rainfall.

		return rainfall;
	
public voidsetChancePrecip(int chancePrecip)

		this.chancePrecip = chancePrecip;
	
public voidsetDay(java.lang.String day)

		this.day = day;
	
public voidsetRainfall(float rainfall)

param
rainfall The rainfall to set.

		this.rainfall = rainfall;