Project

General

Profile

Bug #2196

Changes to DarwinCoreDataSource.java DarwinCoreMetaDataSpecification.java

Added by Kevin Ruland almost 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
09/13/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2196

Description

Multiple changes to these files needed for bug fixing and reducing dependencies
on seek classes.

o.e.s.d.darwincore-patch (36.6 KB) o.e.s.d.darwincore-patch Kevin Ruland, 09/13/2005 09:00 AM

History

#1 Updated by Kevin Ruland almost 14 years ago

Changelog for DarwinCoreDataSource.java:

- Removed unused imports.
- Initialize _outputType to _ASFIELD, and removed the _NOPORTTYPE. This
simplifies the code because _outputType is now always a valid value.
- Change initial cached object (_cachedDataItem) to use
EcogridQueryDataCacheItem instead of EcogridDataCacheItem.
- Changed attributeChanged() method to use ecogrid query format instead of
digir query formats.
- Localized the _resultsetType and _records datamembers to function scope.
- Changed getInitFromData() member function to isInitFromData() which performs
the magic string compares.
- Rewrote transformResultSet() to reduce indentations and improve readibility.
- Removed unneeded function getProviderList().
- Rewrote complete() to reduce indentation and improve readibility. Removed
use of DigirJavaToEcogridJavaResultsetTranformer object because the underlying
data cache object is EcogridQueryDataCacheItem.

Changelog for DarwinCoreMetaDataSpecification.java:

- Rewrote addResultsetByProvider() to reduce indentation and improve
readibility.
- Fixed bug in addResultsetBySpecies to setSearchData field to scientificName
instead of the general search term.

#2 Updated by Kevin Ruland almost 14 years ago

kruland committed these changes.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2196

Also available in: Atom PDF