Re: [Geotools-devel] CodeList example

2006-08-31 Thread Martin Desruisseaux
Jody Garnett a écrit : > - I imagine Martin has carefully named the methods so an Java 5 Enum can > extend CodeList, although I am not positive on this It was my intend. Unfortunatly it doesn't seem to be possible (at least last time I tried). The ISO specification make a clear distinction betw

[Geotools-devel] CodeList example

2006-08-31 Thread Jody Garnett
Hi Oliver, you asked for an example of using CodeList Things to note in the following example: - serialVersionUID is required, we need to be able to send these things back and forth - you can directly create your static final constants using a constructor - your subclass needs to maintain a list