You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Ted Roeloffzen <te...@gmail.com> on 2009/02/18 14:48:10 UTC
Newbie enum problem (BeanUtils 1.7.0)
Hello all,
I'm am having a bit of trouble with the beanutils.I'm using version 1.7.0
An object that i am using has a property Transmission. This property is an
Enum and that Enum has a method getAbbreviation. With me so far?
When i want to get the value of the method getAbbreviation it always returns
NULL.
Why i don't know. I think because the declaring class isn't seen as public
in the getAccessibleMethod method.
Has anyone ever had a problem with retreiving the value of an Enum or am i
doing something wrong?
Thanks in advance.
sincerely,
Ted Roeloffzen
Re: Newbie enum problem (BeanUtils 1.7.0)
Posted by pattabi <Pa...@aig.com>.
Hi,
Did you find any solution for this?
Ted Roeloffzen-2 wrote:
>
> Hello all,
>
> I'm am having a bit of trouble with the beanutils.I'm using version 1.7.0
> An object that i am using has a property Transmission. This property is an
> Enum and that Enum has a method getAbbreviation. With me so far?
> When i want to get the value of the method getAbbreviation it always
> returns
> NULL.
> Why i don't know. I think because the declaring class isn't seen as public
> in the getAccessibleMethod method.
> Has anyone ever had a problem with retreiving the value of an Enum or am i
> doing something wrong?
>
> Thanks in advance.
>
> sincerely,
>
> Ted Roeloffzen
>
>
--
View this message in context: http://www.nabble.com/Newbie-enum-problem-%28BeanUtils-1.7.0%29-tp22079172p23275575.html
Sent from the Commons - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org