I can play around with the first suggestion later this week.  I'm not
adamant either way.  I just want what is best for the end-user, even
if the underlying Cayenne code is a bit more complex.

Changing the method name to getDatabaseValue() is fine.

Thanks,

/dev/mrg

On Mon, Feb 25, 2008 at 11:47 AM, Kevin Menard <[EMAIL PROTECTED]> wrote:
> Right.  What I was suggesting was being able to do:
>
>  public interface MyInterface extends ExtendedEnumeration<String>
>  {
>         public String databaseValue();
>  }
>
>  And the Cayenne bit could just accept Object anyway.
>
>  As another suggested improvement, it'd probably be useful to rename
>  databaseValue to adhere to the JavaBeans naming convention.  It would
>  make introspection a bit easier.
>
>  --
>
> Kevin Menard
>  Servprise International, Inc.
>  Remote reboot & power control for your network
>  www.servprise.com                  +1 508.892.3823 x308

Reply via email to