Package hec.data.level
Class JDomSpecifiedLevelImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.level.JDomSpecifiedLevelImpl
- All Implemented Interfaces:
ISpecifiedLevel
,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.level.ISpecifiedLevel
DB_OFFICE_ID, DESCRIPTION, ELEMENT, ID
-
Constructor Summary
ConstructorsConstructorDescriptionJDomSpecifiedLevelImpl
(DbOfficeId officeId, String id) JDomSpecifiedLevelImpl
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) Populates the element with data from this object.boolean
get the NameType's descriptiongetId()
int
hashCode()
void
set
(ISpecifiedLevel newSpecifiedLevel) void
setDbOfficeId
(DbOfficeId dbOfficeId) void
Set the NamedType's description to the argument String.void
void
setOfficeId
(String officeId) 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, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface hec.data.level.ISpecifiedLevel
toXmlString
Methods inherited from interface rma.lang.Modifiable
isModified, setModified
-
Constructor Details
-
JDomSpecifiedLevelImpl
public JDomSpecifiedLevelImpl() -
JDomSpecifiedLevelImpl
public JDomSpecifiedLevelImpl(org.jdom.Element element) -
JDomSpecifiedLevelImpl
-
JDomSpecifiedLevelImpl
-
-
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
-
hashCode
public int hashCode() -
equals
-
setOfficeId
- Specified by:
setOfficeId
in interfaceISpecifiedLevel
-
getOfficeId
- Specified by:
getOfficeId
in interfaceISpecifiedLevel
-
getId
- Specified by:
getId
in interfaceISpecifiedLevel
-
setId
- Specified by:
setId
in interfaceISpecifiedLevel
-
getDescription
Description copied from class:NamedType
get the NameType's description- Specified by:
getDescription
in interfaceISpecifiedLevel
- 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 interfaceISpecifiedLevel
- Overrides:
setDescription
in classNamedType
-
set
- Specified by:
set
in interfaceISpecifiedLevel
-
getDbOfficeId
- Specified by:
getDbOfficeId
in interfaceISpecifiedLevel
-
setDbOfficeId
- Specified by:
setDbOfficeId
in interfaceISpecifiedLevel
-