Package hec.rss.model
Class ReportInterval
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.rss.model.ReportInterval
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,ReportIntervalInfc,Serializable,Cloneable,Comparable,Observer,rma.lang.Modifiable
- Direct Known Subclasses:
SeasonalReportInterval
The Class ReportInterval.
- See Also:
-
Field Summary
FieldsFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new report interval.ReportInterval(String name, String type) Instantiates a new report interval. -
Method Summary
Methods 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
-
SEASONAL
The SEASONAL.
-
-
Constructor Details
-
ReportInterval
public ReportInterval()Instantiates a new report interval. -
ReportInterval
Instantiates a new report interval.- Parameters:
name- the nametype- the type
-
-
Method Details
-
getType
Description copied from interface:ReportIntervalInfcGets the type.- Specified by:
getTypein interfaceReportIntervalInfc- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
loadData
public boolean loadData(org.jdom.Element elem) Description copied from interface:ReportIntervalInfcLoad data.- Specified by:
loadDatain interfaceReportIntervalInfc- 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- Parameters:
elem- the elem- Returns:
- true, if successful
-
setName
Description copied from class:NamedTypeSet the NamedTypes's name to the argument String. -
getName
Description copied from class:NamedTypeget the NameType's name
-