public class WeatherStream extends Object implements IWISESerializable
Modifier and Type | Class and Description |
---|---|
static class |
WeatherStream.WeatherStreamBuilder |
Constructor and Description |
---|
WeatherStream() |
Modifier and Type | Method and Description |
---|---|
List<ValidationError> |
checkValid()
Find all errors that may exist in the object.
|
String |
getName()
The name of the weather stream.
|
void |
setFilename(String value)
The location of the file containing the stream data (required).
|
void |
setHffmcHour(int value)
The hour that the HFFMC value is for (required).
|
void |
setId(String value)
Set the name of the weather stream.
|
void |
setName(String value)
Set the name of the weather stream.
|
void |
setStartingDc(double value)
Yesterday's daily starting drought code (required).
|
void |
setStartingDmc(double value)
Get yesterday's daily starting duff moisture code.
|
void |
setStartingFfmc(double value)
Yesterday's daily starting fine fuel moisture code (required).
|
void |
setStartingPrecip(double value)
Yesterday's daily starting precipitation (13:01-23:00 if daylight savings time, 12:01-23:00 otherwise) (required).
|
public void setId(String value)
A
- WISEException
will be thrown if value is null or empty.public String getName()
public void setName(String value)
A
- WISEException
will be thrown if value is null or empty.public void setFilename(String value)
public void setStartingFfmc(double value)
public void setStartingDmc(double value)
public void setStartingDc(double value)
public void setStartingPrecip(double value)
public void setHffmcHour(int value)
public List<ValidationError> checkValid()
IWISESerializable
checkValid
in interface IWISESerializable
Copyright © 2022. All rights reserved.