DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17218>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17218

wsdl2java tool prefixes boolean accessors with "is"





------- Additional Comments From [EMAIL PROTECTED]  2003-02-20 13:51 
-------
"Go read the JavaBeans spec, it actually requires that boolean accessors are 
named "is" and not "get"."

Um, no. ;-)

I thought this looked a little strange when I saw it, so I DID go read the
JavaBeans spec.  The relevant paragraph (section 8.3.2) comes right AFTER the
section defining get/set for non-boolean properties.

"In addition, for boolean properties, we allow a getter to match the pattern:
public boolean is&lt;propertyName&gt;();"

"This is&lt;propertyName&gt; method may be provided instead of a
"get&lt;propertyName&gt;" method, or it may be provided in addition to a
"get&lt;propertyName&gt;" method."

Anyway, I agree that this bug is invalid, as I can't see a reasonable way to
implement it without breaking things.  Just thought I'd clarify the spec a
little, though.

Reply via email to