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, 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.level.ISpecifiedLevel
DB_OFFICE_ID, DESCRIPTION, ELEMENT, ID -
Constructor Summary
ConstructorsConstructorDescriptionJDomSpecifiedLevelImpl(DbOfficeId officeId, String id) JDomSpecifiedLevelImpl(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.booleanget the NameType's descriptiongetId()inthashCode()voidset(ISpecifiedLevel newSpecifiedLevel) voidsetDbOfficeId(DbOfficeId dbOfficeId) voidSet the NamedType's description to the argument String.voidvoidsetOfficeId(String officeId) 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, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.data.level.ISpecifiedLevel
toXmlStringMethods 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:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
hashCode
public int hashCode() -
equals
-
setOfficeId
- Specified by:
setOfficeIdin interfaceISpecifiedLevel
-
getOfficeId
- Specified by:
getOfficeIdin interfaceISpecifiedLevel
-
getId
- Specified by:
getIdin interfaceISpecifiedLevel
-
setId
- Specified by:
setIdin interfaceISpecifiedLevel
-
getDescription
Description copied from class:NamedTypeget the NameType's description- Specified by:
getDescriptionin interfaceISpecifiedLevel- Overrides:
getDescriptionin classNamedType- Returns:
- the description
-
setDescription
Description copied from class:NamedTypeSet the NamedType's description to the argument String.- Specified by:
setDescriptionin interfaceISpecifiedLevel- Overrides:
setDescriptionin classNamedType
-
set
- Specified by:
setin interfaceISpecifiedLevel
-
getDbOfficeId
- Specified by:
getDbOfficeIdin interfaceISpecifiedLevel
-
setDbOfficeId
- Specified by:
setDbOfficeIdin interfaceISpecifiedLevel
-