Package hec.data.project
Class JDomProjectCatalogImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.project.JDomProjectCatalogImpl
- All Implemented Interfaces:
IProjectCatalog,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
-- The returned records contain the following columns: -- -- Name Datatype Description -- ------------------------ ------------- ---------------------------- -- db_office_id varchar2(16) owning office of location -- base_location_id varchar2(16) base location id -- sub_location_id varchar2(32) sub-location id, if any -- time_zone_name varchar2(28) local time zone name for location -- latitude number location latitude -- longitude number location longitude -- horizontal_datum varchar2(16) horizontal datrum of lat/lon -- elevation number location elevation -- elev_unit_id varchar2(16) location elevation units -- vertical_datum varchar2(16) veritcal datum of elevation -- public_name varchar2(32) location public name -- long_name varchar2(80) location long name -- description varchar2(512) location description -- active_flag varchar2(1) 'T' if active, else 'F'
- 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_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.convertToRow(IProject project) getProjectDescriptor(int rowIdx) getProjectDescriptor(LocationTemplate projectLocation) getProjectDescriptor(String itemName) newProjectDescriptor(IProject project) voidvoidremove(LocationTemplate projectLocationRef) intsize()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, 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, setModified
-
Constructor Details
-
JDomProjectCatalogImpl
public JDomProjectCatalogImpl() -
JDomProjectCatalogImpl
public JDomProjectCatalogImpl(org.jdom.Element element)
-
-
Method Details
-
convertToRow
-
getProjectDescriptor
- Specified by:
getProjectDescriptorin interfaceIProjectCatalog
-
getProjectDescriptor
- Specified by:
getProjectDescriptorin interfaceIProjectCatalog
-
getProjectDescriptor
- Specified by:
getProjectDescriptorin interfaceIProjectCatalog
-
buildElement
public void buildElement(org.jdom.Element element) Populates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
parse
- Throws:
SQLException
-
getProjectDescriptorList
- Specified by:
getProjectDescriptorListin interfaceIProjectCatalog
-
size
public int size()- Specified by:
sizein interfaceIProjectCatalog
-
getColumnList
- Specified by:
getColumnListin interfaceIProjectCatalog
-
newProjectDescriptor
- Specified by:
newProjectDescriptorin interfaceIProjectCatalog
-
remove
- Specified by:
removein interfaceIProjectCatalog
-