Package hec.data.characteristic
Class JDomCharacteristic
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.characteristic.JDomCharacteristic
- All Implemented Interfaces:
ICharacteristic,IProperty,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
public class JDomCharacteristic
extends AbstractJDomDataObject
implements ICharacteristic, IProperty
- 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.ICharacteristic
ELEMENT, ID, VALUE -
Constructor Summary
ConstructorsConstructorDescriptionJDomCharacteristic(ICharacteristic characteristic) JDomCharacteristic(String id, String value) JDomCharacteristic(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.voidReturns the property comment for this object.Returns the property id of this object.Returns the property value of this object.voidvoidvoidvoidvoidvoidvoidMethods 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, 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
-
JDomCharacteristic
public JDomCharacteristic() -
JDomCharacteristic
-
JDomCharacteristic
public JDomCharacteristic(org.jdom.Element element) -
JDomCharacteristic
-
-
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
-
getCharacteristicId
- Specified by:
getCharacteristicIdin interfaceICharacteristic
-
setCharacteristicId
- Specified by:
setCharacteristicIdin interfaceICharacteristic
-
getPropertyId
Description copied from interface:IPropertyReturns the property id of this object.- Specified by:
getPropertyIdin interfaceIProperty- Returns:
-
setPropertyId
-
getPropertyValue
Description copied from interface:IPropertyReturns the property value of this object.- Specified by:
getPropertyValuein interfaceIProperty- Returns:
-
setPropertyValue
-
getPropertyComment
Description copied from interface:IPropertyReturns the property comment for this object.- Specified by:
getPropertyCommentin interfaceIProperty- Returns:
-
setPropertyComment
-
getBooleanValue
- Specified by:
getBooleanValuein interfaceICharacteristic
-
setBooleanValue
- Specified by:
setBooleanValuein interfaceICharacteristic
-
getStringValue
- Specified by:
getStringValuein interfaceICharacteristic
-
setStringValue
- Specified by:
setStringValuein interfaceICharacteristic
-
getParamValue
- Specified by:
getParamValuein interfaceICharacteristic
-
setParamValue
- Specified by:
setParamValuein interfaceICharacteristic
-