Package hec.rss.model
Class PDCDataSet
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.clientapp.model.Manager
hec.rss.model.PDCDataSet
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,LockableObject,MessagePrinter,TsRecordContainer,Serializable,Cloneable,Comparable,Observer,mil.army.usace.hec.rmi.csinterface.CallBackInterface,rma.lang.Modifiable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class hec.clientapp.model.Manager
_callBack, _dssFileManagerWrapper, _identifier, _lastModifiedTime, _modifiableListeners, _proxyList, _readOnly, _reloadFailed, _reloadOk, _uiWrapper, _userInterface, _wkspPath, _Workspace, LASTMODIFIED_STRINGFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAll(PDCDataSet defaultInputGVData) voidvoidclear()static voidcopySrcToDest(PDCRecord srcRec, PDCRecord dstRec) Copy the data from srcRec to dstRecgetAll()getOrCreate(String name, int varid, String paramName) getPDCRecord(int subDomainId, int consituentId) getPDCRecord(String name, String param) get the PDCRecord with the specified name and parametervoidinit()booleanreadFile(Identifier id) booleanreadFile(BufferedReader input) voidbooleanwriteFile(Identifier id) booleanwriteFile(BufferedWriter out) Methods inherited from class hec.clientapp.model.Manager
addModifiableListener, backupFile, computeComplete, copyFile, deleteFile, deleting, finalize, getCallback, getCommonDataList, getDirectory, getDSSFileManager, getDSSFileManagerWrapper, getFieldObject, getFileManager, getFilename, getGmtOffset, getIdentifier, getInputITSDataSet, getInputTSDataSet, getLastModifiedTime, getLastModifiedTimeString, getModTime, getModTime, getOutputITSDataSet, getOutputTSDataSet, getPath, getProxyList, getReadOnly, getRelativePath, getReloadOk, getSaveAsId, getSaveAsId, getUnitSystem, getUserInterface, getWorkspace, getWorkspacePath, hasLock, isCanceled, isForecastManager, loadComplete, loadSaveAsFile, makeAbsolutePath, makeAbsolutePath, makeAbsolutePathFromWatershed, makeRelativePath, makeRelativePathFromWatershed, modifiyForSaveAs, newFile, newTSRecordProxy, newTSRecordProxy, notify, notifyModifiableListeners, openFile, printErrorMessage, printLogMessage, printMessage, printSeparator, printStatus, printTableRow, printWarningMessage, refreshData, reLoadChildManagers, reLoadFile, reLoadFile, removeCallBack, removeModifiableListener, renamed, saveChildManagers, saveManager, saveManagerAs, saveManagerAs, setFieldObject, setIdentifier, setLastModifiedTime, setLastModifiedTime, setLineAttributes, setLocked, setManagersModifiedTime, setModified, setModifiedFalse, setPath, setProgress, setProxyList, setReadOnly, setReloadOk, setUserInterface, setUserInterface, setWorkspace, toString, unloading, writeLastModTimeMethods inherited from class hec.lang.NamedType
clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setName, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.lang.Modifiable
isModified
-
Field Details
-
EXT
- See Also:
-
DATASET
- See Also:
-
NAME
- See Also:
-
DESCRIPTION
- See Also:
-
PDCRECORD
- See Also:
-
-
Constructor Details
-
PDCDataSet
public PDCDataSet()
-
-
Method Details
-
copySrcToDest
Copy the data from srcRec to dstRec- Parameters:
srcRec- the source recorddstRec- the destination record - Currently must be a PDCRecordProxy
-
init
public void init() -
clear
public void clear() -
addAll
-
getAll
-
addAll
-
removeIfIsNull
public void removeIfIsNull() -
getRecord
-
getRecord
-
getOrCreate
-
add
-
writeFile
-
writeFile
-
readFile
-
readFile
-
getPDCRecord
get the PDCRecord with the specified name and parameter- Parameters:
name- the name of the PDCRecordparam- the parameter of the PDCRecord- Returns:
- the PDCRecord or null if it can't be found
-
getPDCRecord
-