Package hec.rss.model.globalvariable
Class AltScalarGlobalData
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.rss.model.globalvariable.BaseAltGlobalData
hec.rss.model.globalvariable.AltScalarGlobalData
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,GlobalVariableData,Serializable,Cloneable,Comparable,Observer,rma.lang.Modifiable
- See Also:
-
Field Summary
Fields inherited from class hec.rss.model.globalvariable.BaseAltGlobalData
_globalVariable, _valueFields 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 TypeMethodDescriptionprotected booleancanCoerceValue(Object value) protected booleanmethod for subclasses to override to finsih reading dataprotected booleanfinishWritingData(String alternateDssFile) method for subclasses that need to do more than just the standard write dataprotected ObjectgetCoercedValue(Object value) getType()booleanwriteDssData(String alternateDssFile) Methods inherited from class hec.rss.model.globalvariable.BaseAltGlobalData
clone, copyInto, equals, getDssEPart, getDSSFilename, getDSSPathname, getDSSPathname, getGlobalVariableDataLocation, getGVDataSet, getRelativePath, getValue, hashCode, isMarkedForDeletion, loadData, markForDelete, parseGVRecord, readData, readDssData, readDssTextValue, readDssTextValue, setDSSFilename, setDSSPathname, setGlobalVariable, setGVDataSet, setValue, writeAdditionalInfo, writeData, writeDssTextValueMethods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.rss.model.globalvariable.GlobalVariableData
getDescription, getIndex, getName, setDescription, setIndex, setName
-
Constructor Details
-
AltScalarGlobalData
public AltScalarGlobalData() -
AltScalarGlobalData
-
-
Method Details
-
getDataType
-
finishWritingData
method for subclasses that need to do more than just the standard write data- Overrides:
finishWritingDatain classBaseAltGlobalData- Returns:
- true for succes
-
finishReadingData
protected boolean finishReadingData()method for subclasses to override to finsih reading data- Overrides:
finishReadingDatain classBaseAltGlobalData- Returns:
- true for sucess
-
getType
- Specified by:
getTypein interfaceGlobalVariableData- Specified by:
getTypein classBaseAltGlobalData
-
writeDssData
- Specified by:
writeDssDatain interfaceGlobalVariableData- Specified by:
writeDssDatain classBaseAltGlobalData
-
getCoercedValue
- Overrides:
getCoercedValuein classBaseAltGlobalData- Parameters:
value-- Returns:
-
canCoerceValue
- Overrides:
canCoerceValuein classBaseAltGlobalData- Parameters:
value-- Returns:
-