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, YYYY
Fields 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 TypeMethodDescriptionvoid
buildElement
(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) void
void
remove
(LocationTemplate projectLocationRef) int
size()
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
-
Constructor Details
-
JDomProjectCatalogImpl
public JDomProjectCatalogImpl() -
JDomProjectCatalogImpl
public JDomProjectCatalogImpl(org.jdom.Element element)
-
-
Method Details
-
convertToRow
-
getProjectDescriptor
- Specified by:
getProjectDescriptor
in interfaceIProjectCatalog
-
getProjectDescriptor
- Specified by:
getProjectDescriptor
in interfaceIProjectCatalog
-
getProjectDescriptor
- Specified by:
getProjectDescriptor
in interfaceIProjectCatalog
-
buildElement
public void buildElement(org.jdom.Element element) Populates the element with data from this object.- Specified by:
buildElement
in classAbstractJDomDataObject
-
parse
- Throws:
SQLException
-
getProjectDescriptorList
- Specified by:
getProjectDescriptorList
in interfaceIProjectCatalog
-
size
public int size()- Specified by:
size
in interfaceIProjectCatalog
-
getColumnList
- Specified by:
getColumnList
in interfaceIProjectCatalog
-
newProjectDescriptor
- Specified by:
newProjectDescriptor
in interfaceIProjectCatalog
-
remove
- Specified by:
remove
in interfaceIProjectCatalog
-