You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Shameera Rathnayaka (JIRA)" <ji...@apache.org> on 2012/11/07 17:47:11 UTC

[jira] [Commented] (AXIS2-5435) Axis2 BeanUtil doesn't appear to support is/has getter forms for fields.

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

Shameera Rathnayaka commented on AXIS2-5435:
--------------------------------------------

Hi Thomas/dev,

I dig this and found that when we get the BeanInfo class for above pojo class it always expect setters and getters for all types but boolean primitive. So this is not an issue of Axis2 , but we can solve this if setXXX method has referent type as java.lang.Boolean then check whether Beanclass has isXXX method where it return type is java.lang.Boolean . If devs are ok with this, i can provide a patch WDYT?. But i think it is good to keep this as it is because we can stick to the java reflection standards.

Thanks,
Shameera. 
                
> Axis2  BeanUtil doesn't appear to support is/has getter forms for fields.
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-5435
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5435
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: Windows 7 64. Java 1.7
>            Reporter: Thomas Valine
>              Labels: adb, databinding
>
> Binding POJO's having boolean getter methods of the form isBool, hasBool doesn't appear to work.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org