public class GVDataSet extends Manager
LASTMODIFIED_STRING_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
GVDataSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendGVRecords(GVDataSet srcGVDataSet) |
hec.rss.model.globalvariable.GlobalVariableData |
createGVRecord(hec.rss.model.globalvariable.GlobalVariableType type,
int gvIdx) |
java.lang.String |
getAltName() |
java.lang.String |
getDSSFilename()
get the global variable dataset's dss file
|
hec.rss.model.globalvariable.GlobalVariableData |
getGlobalVariableData(int id)
get the alternative global variable data with the index of id
|
hec.rss.model.globalvariable.GlobalVariableData |
getGlobalVariableData(java.lang.String gvName)
get the alternative global variable data with the name of gvName
|
java.util.List<hec.rss.model.globalvariable.GlobalVariableData> |
getGVRecords()
Gets the tSRecords attribute of the TSDataSet object
|
java.util.List<hec.rss.model.globalvariable.GlobalVariableData> |
getGVRecords(hec.rss.model.globalvariable.GlobalVariableType type) |
void |
init() |
void |
loadGlobalVariableValues() |
boolean |
readFile(Identifier id)
Description of the Method
|
boolean |
refreshData(Manager origMgr)
called during save to base/replace from base
|
Manager |
saveManagerAs(java.lang.String directory,
java.lang.String filePrefix,
ManagerProxyListContainer container)
duplicate our data file to a new file and add a new Manager that uses it
to the ManagerProxyListContainer specified
|
void |
setAltName(java.lang.String name) |
boolean |
writeData() |
boolean |
writeFile(Identifier id)
Writes time series records to ascii file given in identifier.
|
addModifiableListener, backupFile, copyFile, deleteFile, deleting, finalize, getCallback, getCommonDataList, getDirectory, getDSSFileManager, getDSSFileManagerWrapper, getFieldObject, getFileManager, getFilename, getGmtOffset, getIdentifier, getInputITSDataSet, getInputTSDataSet, getLastModifiedTime, getLastModifiedTimeString, getOutputITSDataSet, getOutputTSDataSet, getPath, getProxyList, getReadOnly, getRelativePath, getReloadOk, getUnitSystem, getUserInterface, getWorkspace, getWorkspacePath, hasLock, isCanceled, isForecastManager, loadComplete, loadSaveAsFile, makeAbsolutePath, makeAbsolutePath, makeAbsolutePathFromWatershed, makeRelativePath, makeRelativePathFromWatershed, modifiyForSaveAs, newFile, newTSRecordProxy, newTSRecordProxy, notify, openFile, printErrorMessage, printLogMessage, printMessage, printSeparator, printStatus, printTableRow, printWarningMessage, reLoadChildManagers, reLoadFile, reLoadFile, removeCallBack, removeModifiableListener, renamed, saveChildManagers, saveManager, saveManagerAs, setFieldObject, setIdentifier, setLastModifiedTime, setLastModifiedTime, setLineAttributes, setLocked, setModified, setModifiedFalse, setPath, setProgress, setProxyList, setReadOnly, setReloadOk, setUserInterface, setUserInterface, setWorkspace, toString, unloadingclone, compareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setName, setValid, update, useRecursiveModifiedTestaddObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObserverspublic void setAltName(java.lang.String name)
public java.lang.String getAltName()
public java.util.List<hec.rss.model.globalvariable.GlobalVariableData> getGVRecords()
public java.util.List<hec.rss.model.globalvariable.GlobalVariableData> getGVRecords(hec.rss.model.globalvariable.GlobalVariableType type)
public hec.rss.model.globalvariable.GlobalVariableData getGlobalVariableData(int id)
id - the id of the alternative global variablepublic hec.rss.model.globalvariable.GlobalVariableData getGlobalVariableData(java.lang.String gvName)
gvName - the name of the alternative global variablepublic java.lang.String getDSSFilename()
public boolean readFile(Identifier id)
public boolean writeData()
public boolean writeFile(Identifier id)
public void appendGVRecords(GVDataSet srcGVDataSet)
srcGVDataSet - public hec.rss.model.globalvariable.GlobalVariableData createGVRecord(hec.rss.model.globalvariable.GlobalVariableType type,
int gvIdx)
type - gvIdx - public void loadGlobalVariableValues()
public boolean refreshData(Manager origMgr)
refreshData in class Managerpublic Manager saveManagerAs(java.lang.String directory, java.lang.String filePrefix, ManagerProxyListContainer container)
ManagersaveManagerAs in class Manager