Issue 11923

Create new vocabulary interface that all enums implement to retrieve a persistence key

11923
Reporter: mdoering
Type: Improvement
Summary: Create new vocabulary interface that all enums implement to retrieve a persistence key
Description: To remove the use of ordinals as persistence keys create a new interface that all vocabulary enums implement which allows to retrieve an integer key for every enum member. Ordinals are still used a lot in the solr indices. This isnt critical as we can easily rebuild those indices if ordinals change, but its not ideal either. Such an interface would also help to distinguish vocabulary enums from others
Priority: Major
Resolution: WontFix
Status: Resolved
Created: 2012-09-19 11:43:18.857
Updated: 2014-05-01 11:37:10.188
Resolved: 2014-05-01 11:37:10.131


Author: omeyn@gbif.org
Comment: Since this issue was created we've moved to .name persistence of enums and it looks like it'll stay that way for awhile.
Created: 2014-05-01 11:37:10.186
Updated: 2014-05-01 11:37:10.186