You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Felipe Alexandre Rodrigues (JIRA)" <ji...@apache.org> on 2013/10/16 23:24:48 UTC

[jira] [Updated] (CXF-5338) Reader method name of a Boolean property

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

Felipe Alexandre Rodrigues updated CXF-5338:
--------------------------------------------

    Description: 
When I performed wsdl2java on a wsdl that have a complextype with a element with minOccurs="0" and type="xsd:boolean" attributes.
The class generated a Boolean (Wrapper) property for that.
The problem is that the reader method starts with isProperty istead of getProperty.
When generate a primitive boolean property its ok. But in the case of Wrapper, the reader method must be getMethod instead of isMethod.

The JavaBeans API specification:
http://download.oracle.com/otndocs/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/


  was:
When I performed wsdl2java on a wsdl that have a complextype with a element with minOccurs="0" and type="xsd:boolean" attributes.
The class generated a Boolean (Wrapper) property for that.
The problem is that the reader method starts with isProperty istead of getProperty.
When generate a primitive boolean property its ok. But in the case of Wrapper, the reader method must be getMethod instead of isMethod.



        Summary: Reader method name of a Boolean property  (was: The JavaBeans API specification)

> Reader method name of a Boolean property
> ----------------------------------------
>
>                 Key: CXF-5338
>                 URL: https://issues.apache.org/jira/browse/CXF-5338
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>            Reporter: Felipe Alexandre Rodrigues
>            Priority: Trivial
>
> When I performed wsdl2java on a wsdl that have a complextype with a element with minOccurs="0" and type="xsd:boolean" attributes.
> The class generated a Boolean (Wrapper) property for that.
> The problem is that the reader method starts with isProperty istead of getProperty.
> When generate a primitive boolean property its ok. But in the case of Wrapper, the reader method must be getMethod instead of isMethod.
> The JavaBeans API specification:
> http://download.oracle.com/otndocs/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/



--
This message was sent by Atlassian JIRA
(v6.1#6144)