Package hec.data.level
Class JDomParameterTypedValueImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.level.JDomParameterTypedValueImpl
- All Implemented Interfaces:
IParameterTypedValue
,XmlString
,AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
public class JDomParameterTypedValueImpl
extends AbstractJDomDataObject
implements IParameterTypedValue
- See Also:
-
Field Summary
FieldsFields inherited from class hec.data.AbstractJDomDataObject
DD_MM_MYYYY, DD_MM_MYYYY_HHMM, DD_MM_MYYYY_HHMMZ, MM_MYYYY, UNIT, YYYY
Fields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT
Fields inherited from interface hec.data.level.IParameterTypedValue
COMMENT, DURATION, ID, PARAMETER, PARAMETER_TYPE, VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionJDomParameterTypedValueImpl
(Parameter parameter, ParameterType parameterType, Duration duration) JDomParameterTypedValueImpl
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) Populates the element with data from this object.clone()
Creates a new object of the same class as this object.void
getValue
(ParamDouble paramDouble) void
setComment
(String comment) void
setDuration
(Duration duration) void
setParameter
(Parameter param) void
void
void
setValue
(ParamDouble paramDouble) toString()
Methods inherited from class hec.data.AbstractJDomDataObject
buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlString
Methods 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, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface rma.lang.Modifiable
isModified, setModified
Methods inherited from interface hec.data.XmlString
toXmlString
-
Field Details
-
DELIM
- See Also:
-
-
Constructor Details
-
JDomParameterTypedValueImpl
public JDomParameterTypedValueImpl() -
JDomParameterTypedValueImpl
public JDomParameterTypedValueImpl(Parameter parameter, ParameterType parameterType, Duration duration) -
JDomParameterTypedValueImpl
public JDomParameterTypedValueImpl(org.jdom.Element element) -
JDomParameterTypedValueImpl
-
-
Method Details
-
buildElement
public void buildElement(org.jdom.Element element) Description copied from class:AbstractJDomDataObject
Populates the element with data from this object.- Specified by:
buildElement
in classAbstractJDomDataObject
-
getSiParameterUnitsValue
- Specified by:
getSiParameterUnitsValue
in interfaceIParameterTypedValue
-
getParameter
- Specified by:
getParameter
in interfaceIParameterTypedValue
-
getParameterType
- Specified by:
getParameterType
in interfaceIParameterTypedValue
-
getDuration
- Specified by:
getDuration
in interfaceIParameterTypedValue
-
getComment
- Specified by:
getComment
in interfaceIParameterTypedValue
-
setValue
- Specified by:
setValue
in interfaceIParameterTypedValue
-
getValue
- Specified by:
getValue
in interfaceIParameterTypedValue
-
setSiParameterUnitsValue
- Specified by:
setSiParameterUnitsValue
in interfaceIParameterTypedValue
-
setParameter
- Specified by:
setParameter
in interfaceIParameterTypedValue
-
setParameterType
- Specified by:
setParameterType
in interfaceIParameterTypedValue
-
setDuration
- Specified by:
setDuration
in interfaceIParameterTypedValue
-
setComment
- Specified by:
setComment
in interfaceIParameterTypedValue
-
toString
-
clone
Description copied from class:NamedType
Creates 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:
clone
in classNamedType
- Throws:
CloneNotSupportedException
-