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, 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.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 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.voidgetValue(ParamDouble paramDouble) voidsetComment(String comment) voidsetDuration(Duration duration) voidsetParameter(Parameter param) voidvoidvoidsetValue(ParamDouble paramDouble) toString()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, 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
-
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:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
getSiParameterUnitsValue
- Specified by:
getSiParameterUnitsValuein interfaceIParameterTypedValue
-
getParameter
- Specified by:
getParameterin interfaceIParameterTypedValue
-
getParameterType
- Specified by:
getParameterTypein interfaceIParameterTypedValue
-
getDuration
- Specified by:
getDurationin interfaceIParameterTypedValue
-
getComment
- Specified by:
getCommentin interfaceIParameterTypedValue
-
setValue
- Specified by:
setValuein interfaceIParameterTypedValue
-
getValue
- Specified by:
getValuein interfaceIParameterTypedValue
-
setSiParameterUnitsValue
- Specified by:
setSiParameterUnitsValuein interfaceIParameterTypedValue
-
setParameter
- Specified by:
setParameterin interfaceIParameterTypedValue
-
setParameterType
- Specified by:
setParameterTypein interfaceIParameterTypedValue
-
setDuration
- Specified by:
setDurationin interfaceIParameterTypedValue
-
setComment
- Specified by:
setCommentin interfaceIParameterTypedValue
-
toString
-
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
-