Convert field Contact.type from type ContactType to InterpretedEnum<String, ContactType>
10706
Reporter: kbraak
Assignee: kbraak
Type: SubTask
Summary: Convert field Contact.type from type ContactType to InterpretedEnum<String, ContactType>
Description: ContactType is currently local to the Registry located in org.gbif.registry.api.model.vocabulary - maybe this should be moved to gbif-common-api?
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-01-27 12:17:35.5
Updated: 2013-12-16 17:50:35.162
Resolved: 2012-01-30 12:52:21.862
Author: mdoering@gbif.org
Created: 2012-01-27 13:26:44.616
Updated: 2012-01-27 13:26:44.616
is Contact.type only populated by the registry db? then its a strictly controlled enum and it doesn't need the interpretedEnum.
We would only need it if we parse xml and other external content to create a Contact instance
Author: kbraak@gbif.org
Comment: Contact.type is populated also in metadata service, where we indeed parse xml to create a Contact instance.
Created: 2012-01-27 13:47:06.241
Updated: 2012-01-27 13:47:06.241
Author: kbraak@gbif.org
Created: 2012-01-30 12:52:21.896
Updated: 2012-01-30 12:52:21.896
This sub-task has been resolved, but I'm not entirely satisfied with the solution.
Please see top issue REG-90 for a description of the problem.