[ 
https://issues.apache.org/jira/browse/BEANUTILS-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588766#comment-13588766
 ] 

Benedikt Ritter commented on BEANUTILS-389:
-------------------------------------------

Hi Maheshkumar,

you mean as a short cut to:
{code}
Object value = PropertyUtils.getProperty(myBean, "sourceProperty");
PropertyUtils.setProperty(targetBean, "targetProperty", value);
{code}

I'm not sure if a special method for that adds that much benefit. Anyway it 
will have to wait till later than 1.8.4, because it would be a new feature.

Regards,
Benedikt
                
> Add a new method to copy a property. copyProperty(Object sourceBean, String 
> sourceProperty, Object targetBean, String targetProperty);
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-389
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-389
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>          Components: Bean / Property Utils
>            Reporter: Maheshkumar Periyasamy
>            Priority: Minor
>
> Add a new method to copy a property. copyProperty(Object sourceBean, String 
> sourceProperty, Object targetBean, String targetProperty);
> If source and target beans are different type, this method will be useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to