Package hec.data.level
Class JDomSeasonalValueImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.level.JDomSeasonalValueImpl
- All Implemented Interfaces:
ISeasonalValue,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- See Also:
-
Field Summary
Fields inherited from class hec.data.AbstractJDomDataObject
DD_MM_MYYYY, DD_MM_MYYYY_HHMM, DD_MM_MYYYY_HHMMZ, MM_MYYYY, UNIT, YYYYFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTFields inherited from interface hec.data.level.ISeasonalValue
OFFSET, VALUE -
Constructor Summary
ConstructorsConstructorDescriptionJDomSeasonalValueImpl(ISeasonalInterval offset, IParameterTypedValue value) JDomSeasonalValueImpl(org.jdom.Element element) JDomSeasonalValueImpl(org.jdom.Element element, IParameterTypedValue prototype) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.clone()Creates a new object of the same class as this object.getValue()voidsetOffset(ISeasonalInterval interval) voidsetOffsetMinutes(Integer offsetMinutes) voidsetOffsetMonths(Integer offSetMonths) voidvoidvoidsetValue(IParameterTypedValue value) Methods inherited from class hec.data.AbstractJDomDataObject
buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlStringMethods 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.lang.Modifiable
isModified, setModifiedMethods inherited from interface hec.data.XmlString
toXmlString
-
Constructor Details
-
JDomSeasonalValueImpl
public JDomSeasonalValueImpl() -
JDomSeasonalValueImpl
-
JDomSeasonalValueImpl
public JDomSeasonalValueImpl(org.jdom.Element element) -
JDomSeasonalValueImpl
-
JDomSeasonalValueImpl
-
-
Method Details
-
buildElement
public void buildElement(org.jdom.Element element) Description copied from class:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
getSiParameterUnitsValue
-
setSiParameterUnitsValue
-
getOffsetMonths
-
setOffsetMonths
-
getOffsetMinutes
-
setOffsetMinutes
-
getValue
- Specified by:
getValuein interfaceISeasonalValue
-
getOffset
- Specified by:
getOffsetin interfaceISeasonalValue
-
setValue
- Specified by:
setValuein interfaceISeasonalValue
-
setOffset
- Specified by:
setOffsetin interfaceISeasonalValue
-
setPrototypeParameterType
-
clone
Description copied from class:NamedTypeCreates a new object of the same class as this object.
It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
constructor is called.- Overrides:
clonein classNamedType- Throws:
CloneNotSupportedException
-