Project

General

Profile

Actions

Bug #2196

closed

Changes to DarwinCoreDataSource.java DarwinCoreMetaDataSpecification.java

Added by Kevin Ruland about 19 years ago. Updated about 19 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.


Files

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

Updated by Kevin Ruland about 19 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.

Actions #2

Updated by Kevin Ruland about 19 years ago

kruland committed these changes.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2196

Actions

Also available in: Atom PDF