users@jaxb.java.net

Re: generateIsSetMethod

From: Gary Gregory <ggregory_at_seagullsw.com>
Date: Fri, 25 Jul 2003 02:14:55 -0400

It does seem superfluous to generate isSet* methods that _always_ return
true.

Gary

-----Original Message-----
From: Eddie Benowitz [mailto:eddieb_at_mail2.jpl.nasa.gov]
Sent: Thursday, July 24, 2003 17:32
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: generateIsSetMethod

Just a comment:

It seems to me that for any element having minOccurs="0"
then the isSet method should automatically be generated.
Likewise, for min occurs greater than zero, the isSet method
is less critical and need not be generated. This could be decided
by xjc rather than the current more manual process of identification by
specifying generateIsSetMethod="true".

--
Thanks,
Eddie
--------------------------------
Eddie Benowitz
Section 345
Software Engineering Technology Infusion Group
Jet Propulsion Laboratory
(818) 393-7169
eddieb_at_mail2.jpl.nasa.gov
All opinions stated above are mine and do not necessarily reflect those
of JPL or NASA.