Issue 10140

List the different usages for vocabularies from

Reporter: omeyn
Type: Technical
Summary: List the different usages for vocabularies from
Priority: Minor
Resolution: WontFix
Status: Resolved
Created: 2011-11-07 15:43:00.598
Updated: 2015-03-02 15:33:57.065
Resolved: 2015-03-02 15:33:57.031

Created: 2011-11-07 15:43:17.202
Updated: 2011-11-07 15:43:17.202
from markus

There are 3 main problems the vocabularies are trying to solve:
controlled list of terms/concepts: this is similar to typed enums
provide labels in various languages: i18n, normally handled via resource bundles in java
list alternative terms for mapping various data to the controlled terms / enums: this is mostly used in indexing and is sth we often use simple tab files for, for example mapping various kingdom names to a controlled list of 8 kingdoms: Not sure if that is true, but I would think we also maintain those simple dictionaries for countries and alike
It might be useful to separate those concerns when thinking abut using them. For example we could derive resource bundles, enums and simple dictionary tab files from them