Package hec.rss.model
Class SeasonalReportInterval
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.rss.model.ReportInterval
hec.rss.model.SeasonalReportInterval
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,ReportIntervalInfc,Serializable,Cloneable,Comparable,Observer,rma.lang.Modifiable
The Class SeasonalReportInterval.
- See Also:
-
Field Summary
FieldsFields inherited from class hec.rss.model.ReportInterval
SEASONALFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionSeasonalReportInterval(ReportInterval interval) Instantiates a new seasonal report interval.SeasonalReportInterval(String name) Instantiates a new seasonal report interval. -
Method Summary
Methods inherited from class hec.rss.model.ReportInterval
getName, setName, setTypeMethods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setValid, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
ROOT_NODE_NAME
The ROO t_ nod e_ name.
-
-
Constructor Details
-
SeasonalReportInterval
Instantiates a new seasonal report interval.- Parameters:
name- the name
-
SeasonalReportInterval
Instantiates a new seasonal report interval.- Parameters:
interval- the interval
-
-
Method Details
-
getType
Description copied from interface:ReportIntervalInfcGets the type.- Specified by:
getTypein interfaceReportIntervalInfc- Overrides:
getTypein classReportInterval- Returns:
- the type
-
setDates
Sets the dates.- Parameters:
dates- the new dates
-
getDates
Gets the dates.- Returns:
- the dates
-
loadData
public boolean loadData(org.jdom.Element elem) Description copied from interface:ReportIntervalInfcLoad data.- Specified by:
loadDatain interfaceReportIntervalInfc- Overrides:
loadDatain classReportInterval- Parameters:
elem- the elem- Returns:
- true, if successful
-
storeData
public boolean storeData(org.jdom.Element elem) Description copied from interface:ReportIntervalInfcStore data.- Specified by:
storeDatain interfaceReportIntervalInfc- Overrides:
storeDatain classReportInterval- Parameters:
elem- the elem- Returns:
- true, if successful
-