Package hec.rss.model.globalvariable
Interface GlobalVariableData
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
AltExternalGlobalData,AltScalarGlobalData,AltStringGlobalData,AltTableGlobalData,AltTimeSeriesGlobalData,BaseAltGlobalData
-
Method Summary
Modifier and TypeMethodDescriptionclone()booleancopyInto(GlobalVariableData copyFromGv) copy into this GlobalVariableData the contents from copyFromGvintgetIndex()getName()getType()getValue()booleanbooleanloadData()voidmarkForDelete(boolean markForDelete) booleanreadData(BufferedReader input) booleanreadDssData(String dssFile, String dssPath) voidsetDescription(String description) voidsetDSSFilename(String filename) voidsetDSSPathname(String dssPathname) voidsetGlobalVariable(GlobalVariable globalVariable) voidsetGVDataSet(GVDataSet gvDataSet) voidsetIndex(int idx) voidvoidbooleanwriteData(BufferedWriter buffWriter, String alternativeDssFile) booleanwriteDssData(String alternateDssFile)
-
Method Details
-
getIndex
int getIndex() -
setIndex
void setIndex(int idx) -
getValue
String getValue() -
getType
GlobalVariableType getType() -
writeData
- Parameters:
buffWriter- - buffered writer to write to
-
setGVDataSet
-
readData
- Parameters:
input- - buffered reader to read from- Returns:
- - true if successfully read
-
getDSSPathname
String getDSSPathname() -
setDSSPathname
-
getGVDataSet
GVDataSet getGVDataSet() -
setDSSFilename
-
getDSSFilename
String getDSSFilename() -
loadData
boolean loadData()- Returns:
- - true if successfully loaded
-
clone
GlobalVariableData clone() -
writeDssData
-
readDssData
-
setValue
- Parameters:
value- - value of this variable
-
setGlobalVariable
- Parameters:
globalVariable- - the network global variable associated with this data
-
getGlobalVariableDataLocation
GlobalVariableDataLocation getGlobalVariableDataLocation() -
setName
-
getName
String getName() -
setDescription
-
getDescription
String getDescription() -
copyInto
copy into this GlobalVariableData the contents from copyFromGv- Parameters:
copyFromGv-
-
markForDelete
void markForDelete(boolean markForDelete) -
isMarkedForDeletion
boolean isMarkedForDeletion()
-