[kepler-dev] Q: org.kepler.objectmanager.data.DataType vs. ptolemy.data.type.BaseType

Kevin Ruland kruland at ku.edu
Tue Nov 22 06:44:43 PST 2005


Hi.

I see something wierd in
org.ecoinformatics.seek.datasource.darwincore.DarwinCoreDataSource.  It
has a wierd hash table which translates types from
org.kepler.objectmanager.data.DataType to ptolemy.data.type.BaseType. 
Why are there two different type enums in the system?  It seems that
since the underlying infrastructure for the ports relies on
ptolemy.data.type.BaseType definitions, the
org.kepler.objectmanager.data package should use those enumerations. 
This would certainly simplify the code in DarwinCoreDataSource and
Eml200DataSource (which both have the same conversion routines) and also
reduce confusion in general.

Kevin


More information about the Kepler-dev mailing list