Package hec.data.characteristic
Class JDomCharacteristicType
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.characteristic.JDomCharacteristicType
- All Implemented Interfaces:
ICharacteristicType
,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, 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.characteristic.ICharacteristicType
CHARACTERISTIC_LIST, DESCRIPTION, ELEMENT, USAGE_ID
-
Constructor Summary
ConstructorsConstructorDescriptionJDomCharacteristicType
(ICharacteristicType characteristicType) JDomCharacteristicType
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCharacteristic
(ICharacteristic characteristic) void
buildElement
(org.jdom.Element element) Populates the element with data from this object.get the NameType's descriptiongetList()
void
getParamValue
(String characteristicId, ParamDouble pd) getStringValue
(String characteristicId) void
putParamValue
(String characteristicId, ParamDouble pd) void
putStringValue
(String characteristicId, String text) void
void
setDescription
(String description) Set the NamedType's description to the argument String.void
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, clone, compareTo, fireModifiedStateChanged, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, 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
-
Constructor Details
-
JDomCharacteristicType
public JDomCharacteristicType() -
JDomCharacteristicType
public JDomCharacteristicType(org.jdom.Element element) -
JDomCharacteristicType
public JDomCharacteristicType(ICharacteristicType characteristicType) throws JDomDataObjectException - Throws:
JDomDataObjectException
-
-
Method Details
-
getCharacteristicTypeRef
- Specified by:
getCharacteristicTypeRef
in interfaceICharacteristicType
-
setCharacteristicRef
- Throws:
JDomDataObjectException
-
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
-
getPropertyList
- Specified by:
getPropertyList
in interfaceICharacteristicType
-
getList
- Specified by:
getList
in interfaceICharacteristicType
-
getSortedMap
- Specified by:
getSortedMap
in interfaceICharacteristicType
-
toString
-
addCharacteristic
- Specified by:
addCharacteristic
in interfaceICharacteristicType
-
setPropertyList
-
getDescription
Description copied from class:NamedType
get the NameType's description- Specified by:
getDescription
in interfaceICharacteristicType
- Overrides:
getDescription
in classNamedType
- Returns:
- the description
-
setDescription
Description copied from class:NamedType
Set the NamedType's description to the argument String.- Specified by:
setDescription
in interfaceICharacteristicType
- Overrides:
setDescription
in classNamedType
-
putParamValue
- Specified by:
putParamValue
in interfaceICharacteristicType
-
putStringValue
- Specified by:
putStringValue
in interfaceICharacteristicType
-
getParamValue
- Specified by:
getParamValue
in interfaceICharacteristicType
-
getStringValue
- Specified by:
getStringValue
in interfaceICharacteristicType
-