Hi Ari, attachments don't come through the list, so if you want to,
just shoot it to me directly. I suspect what you have might be pretty
similar to the Extended Types I implemented for Cayenne 1.2/2.0
without Java 1.5 enums and supported Integer/String types. What I had
then was more complicated/functional, because it included localization
support, which I'm not trying to do right now.
Thanks!
/dev/mrg
On Mon, Feb 25, 2008 at 5:44 PM, Aristedes Maniatis <ar..sh.com.au> wrote:
>
> On 26/02/2008, at 1:43 AM, Michael Gentry wrote:
>
> > I did some work on extended enumerations (where the DB value can be
> > defined) this weekend
>
> Interesting. If this list passes through my attachments, I've included
> some classes from our ROP project which might help give you another
> example of how this might be used. They are ExtendedTypeIntegerEnum
> which is an interface implemented by IntegerEnumType (server side
> only) and ClassCostType (an example enumeration which is available to
> both client and server).
>
>
>
>
>
>
> The naming and docs could be better but it works pretty well. Despite
> the copyright headers, you have permission to use any bits of this you
> find useful. As you can see, the approach is quite similar: a
> persistent value and a display value (for popup menus for instance)
> declared in the constructor.
>
>
> Ari
>
>
>
>
> -------------------------->
> ish
> http://www.ish.com.au
> Level 1, 30 Wilson Street Newtown 2042 Australia
> phone +61 2 9550 5001 fax +61 2 9550 4001
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
>
>
>
>
This archive was generated by hypermail 2.0.0 : Mon Feb 25 2008 - 19:31:22 EST