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, 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.characteristic.ICharacteristicType
CHARACTERISTIC_LIST, DESCRIPTION, ELEMENT, USAGE_ID -
Constructor Summary
ConstructorsConstructorDescriptionJDomCharacteristicType(ICharacteristicType characteristicType) JDomCharacteristicType(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacteristic(ICharacteristic characteristic) voidbuildElement(org.jdom.Element element) Populates the element with data from this object.get the NameType's descriptiongetList()voidgetParamValue(String characteristicId, ParamDouble pd) getStringValue(String characteristicId) voidputParamValue(String characteristicId, ParamDouble pd) voidputStringValue(String characteristicId, String text) voidvoidsetDescription(String description) Set the NamedType's description to the argument String.voidtoString()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, clone, compareTo, fireModifiedStateChanged, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, 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
-
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:
getCharacteristicTypeRefin interfaceICharacteristicType
-
setCharacteristicRef
- Throws:
JDomDataObjectException
-
buildElement
public void buildElement(org.jdom.Element element) Description copied from class:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
getPropertyList
- Specified by:
getPropertyListin interfaceICharacteristicType
-
getList
- Specified by:
getListin interfaceICharacteristicType
-
getSortedMap
- Specified by:
getSortedMapin interfaceICharacteristicType
-
toString
-
addCharacteristic
- Specified by:
addCharacteristicin interfaceICharacteristicType
-
setPropertyList
-
getDescription
Description copied from class:NamedTypeget the NameType's description- Specified by:
getDescriptionin interfaceICharacteristicType- Overrides:
getDescriptionin classNamedType- Returns:
- the description
-
setDescription
Description copied from class:NamedTypeSet the NamedType's description to the argument String.- Specified by:
setDescriptionin interfaceICharacteristicType- Overrides:
setDescriptionin classNamedType
-
putParamValue
- Specified by:
putParamValuein interfaceICharacteristicType
-
putStringValue
- Specified by:
putStringValuein interfaceICharacteristicType
-
getParamValue
- Specified by:
getParamValuein interfaceICharacteristicType
-
getStringValue
- Specified by:
getStringValuein interfaceICharacteristicType
-