public class DayOfWeekMultiplier extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, AsciiSerializable, hec.rss.model.reports.AltInputReportInfc
| Modifier and Type | Field and Description |
|---|---|
static int |
FRIDAY |
static int |
MONDAY |
static int |
SATURDAY |
static int |
SUNDAY
Static definition values for each day.
|
static int |
THURSDAY |
static int |
TUESDAY |
static int |
WEDNSDAY |
| Constructor and Description |
|---|
DayOfWeekMultiplier() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this object
|
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
double |
getLargestMultiplier() |
double |
getMultiplier(HecTime hecTime)
Determines the day of week for the HecTime and returns the
day of week multiplier
|
double |
getMultiplier(int day)
Returns the multiplier for a given day
|
double |
getMultiplier(RunTimeStep rts)
Determines the day of week for the RunTimeStep.step and returns the
day of week multiplier
|
boolean |
isDefaults()
returns true if all multipliers == 1
|
void |
outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
Alternative Input Report Interface for data.
|
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setMultiplier(int day,
double mult)
Sets the multiplier for a given day
|
public static int SUNDAY
public static int MONDAY
public static int TUESDAY
public static int WEDNSDAY
public static int THURSDAY
public static int FRIDAY
public static int SATURDAY
public boolean isDefaults()
public double getLargestMultiplier()
public double getMultiplier(int day)
public double getMultiplier(HecTime hecTime)
public double getMultiplier(RunTimeStep rts)
public void setMultiplier(int day,
double mult)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorfld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorfld - The java field object representing the member field to be setfobj - The data to set in that fieldpublic void outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
hec.rss.model.reports.AltInputReportInfcoutputReport in interface hec.rss.model.reports.AltInputReportInfc