public class DssOutputData
extends java.lang.Object
implements java.lang.Cloneable, hec.rss.model.reports.AltInputReportInfc
| Constructor and Description |
|---|
DssOutputData(RssAlt alt)
Instantiates a new dss output data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all selected elements and vids.
|
java.lang.Object |
clone() |
RssAlt |
getAlt()
Gets the alt.
|
void |
outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
Alternative Input Report Interface for data.
|
void |
read(java.io.BufferedReader reader)
Reads the data and fills class.
|
void |
setNoWriteRecord(java.lang.String elementType,
int elementID,
int vid)
Sets the no write record.
|
void |
setNoWriteRecord(java.lang.String elementType,
int elementID,
java.lang.String columnName)
Sets the no write record.
|
void |
setWriteAllDSSOutput(boolean set)
Sets the write all dss output flag.
|
void |
setwriteAllInputData(boolean set)
Sets the write all interpolated input dss flag.
|
void |
write(java.io.BufferedWriter writer)
Write data to buffered reader.
|
boolean |
writeAll()
Write all flag.
|
boolean |
writeAllInputData()
Write all input flag.
|
boolean |
writeRecord(java.lang.String elementType,
int elementID,
int vid)
Returns true if OK to write record.
|
boolean |
writeRecord(TSRecord record)
Looks at the passed TSRecordProxy and determines if it has been selected to
not write to the dss file.
|
boolean |
writeRecord(TSRecordProxy record)
Looks at the passed TSRecordProxy and determines if it has been selected to
not write to the dss file.
|
public DssOutputData(RssAlt alt)
alt - the RssAlt ownerpublic RssAlt getAlt()
public void setNoWriteRecord(java.lang.String elementType,
int elementID,
int vid)
elementType - the element type string. ie. reservoir, junction, reachelementID - the element idvid - the vidpublic boolean writeAll()
public void setWriteAllDSSOutput(boolean set)
set - the new write all dss outputpublic boolean writeAllInputData()
public void setwriteAllInputData(boolean set)
set - the new write all interpolated input dss outputpublic void setNoWriteRecord(java.lang.String elementType,
int elementID,
java.lang.String columnName)
elementType - the element type string. ie. reservoir, junction, reachelementID - the element idcolumnName - the column name - see DSSOutputGroupspublic boolean writeRecord(TSRecord record)
TSRecord - the recordpublic boolean writeRecord(TSRecordProxy record)
TSRecordProxy - the recordpublic void clear()
public boolean writeRecord(java.lang.String elementType,
int elementID,
int vid)
elementType - the String element type. ie. reservoir, reachelementID - the element idvid - the vidpublic void read(java.io.BufferedReader reader)
throws java.io.IOException
reader - the readerjava.io.IOException - Signals that an I/O exception has occurred.public void write(java.io.BufferedWriter writer)
throws java.io.IOException
writer - the writerjava.io.IOException - Signals that an I/O exception has occurred.public java.lang.Object clone()
clone in class java.lang.Objectpublic void outputReport(hec.rss.model.reports.AlternativeInputReport report,
org.jdom.Element elem)
hec.rss.model.reports.AltInputReportInfcoutputReport in interface hec.rss.model.reports.AltInputReportInfc