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, 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.ICharacteristic
ELEMENT, ID, VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionJDomCharacteristic
(ICharacteristic characteristic) JDomCharacteristic
(String id, String value) JDomCharacteristic
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) Populates the element with data from this object.void
Returns the property comment for this object.Returns the property id of this object.Returns the property value of this object.void
void
void
void
void
void
void
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, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, 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
-
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:AbstractJDomDataObject
Populates the element with data from this object.- Specified by:
buildElement
in classAbstractJDomDataObject
-
getCharacteristicId
- Specified by:
getCharacteristicId
in interfaceICharacteristic
-
setCharacteristicId
- Specified by:
setCharacteristicId
in interfaceICharacteristic
-
getPropertyId
Description copied from interface:IProperty
Returns the property id of this object.- Specified by:
getPropertyId
in interfaceIProperty
- Returns:
-
setPropertyId
-
getPropertyValue
Description copied from interface:IProperty
Returns the property value of this object.- Specified by:
getPropertyValue
in interfaceIProperty
- Returns:
-
setPropertyValue
-
getPropertyComment
Description copied from interface:IProperty
Returns the property comment for this object.- Specified by:
getPropertyComment
in interfaceIProperty
- Returns:
-
setPropertyComment
-
getBooleanValue
- Specified by:
getBooleanValue
in interfaceICharacteristic
-
setBooleanValue
- Specified by:
setBooleanValue
in interfaceICharacteristic
-
getStringValue
- Specified by:
getStringValue
in interfaceICharacteristic
-
setStringValue
- Specified by:
setStringValue
in interfaceICharacteristic
-
getParamValue
- Specified by:
getParamValue
in interfaceICharacteristic
-
setParamValue
- Specified by:
setParamValue
in interfaceICharacteristic
-