[ 
https://issues.apache.org/jira/browse/PIVOT-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Bartlett resolved PIVOT-634.
----------------------------------

    Resolution: Fixed

Added new coerceEnum method to BeanAdapter which takes the supplied String 
value, performs a toUpperCase() on it, and uses it for a Enum.valueOf() call.
Removed String overloaded enum setter methods which are no longer required in 
light of this change.


> Provide automated support for setting enum values
> -------------------------------------------------
>
>                 Key: PIVOT-634
>                 URL: https://issues.apache.org/jira/browse/PIVOT-634
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-beans
>            Reporter: Greg Brown
>            Assignee: Chris Bartlett
>             Fix For: 2.0
>
>
> By adding support for converting strings to enum values in 
> BeanAdapter.coerce(), we can potentially eliminate all of the conversion 
> overloads we are currently using.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to