Hello Jody

Thanks for the feedback. Yours proposal sound great. I also like
"Vocabulary", I think it is better than the current "Enumerated". There
is an OGC meeting in 2 weeks, hopefully I could also get some advices there.

    Martin



Le 26/02/15 22:48, Jody Garnett a écrit :
> Tricky question, I liked code-list :(
> - Domain, Formal, Definition ...
> - Vocabulary Vocab etc.. 
>
> I think I prefer Vocab out.
>
> class Foo extends CodeList implements Vocabulary {
>    ...
> }
>
> enum Bar implements Vocabulary {
>    A, B, D;
> }
>
> --
> Jody Garnett
>
> On 19 November 2014 at 12:58, Martin Desruisseaux
> <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hello all
>
>     As a side effect of ISO 19115:2014 upgrade, we have an increasing need
>     for a common interface between CodeList and the Enum defined by
>     GeoAPI.
>     (Reminder: a CodeList is basically an Enum which allow new elements to
>     be added at runtime). I have trouble finding a good interface name
>     which
>     can be applied to both "true enum" and "extensible enum" (i.e. "code
>     list"). We can not use "Enum", "Enumeration" or "CodeList" since they
>     are already used. I found "Enumerated" used in some other API (e.g.
>     javax.persistence.Enumerated) so I took that name for now:
>
>     http://www.geoapi.org/snapshot/javadoc/org/opengis/util/Enumerated.html
>
>     However I don't think it is a good name for us, since "enumeration"
>     suggest a closed universe (we enumerated all possible elements), while
>     "code list" is an open universe.
>
>     I though about "Universe", but this is probably too big. Some other
>     words are "catalog", "inventory", "register", "dictionary", "listing",
>     and more. Does someone has an idea for a better interface name?
>
>         Martin
>
>
>     
> ------------------------------------------------------------------------------
>     Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>     from Actuate! Instantly Supercharge Your Business Reports and
>     Dashboards
>     with Interactivity, Sharing, Native Excel Exports, App Integration
>     & more
>     Get technology previously reserved for billion-dollar
>     corporations, FREE
>     
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Geoapi-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/geoapi-devel
>
>

Reply via email to