posted my revised class on the
bug/feature reporting area. I can send you a copy of the new class.
Best,
-Original Message-
From: Stuart Barlow [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 3:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Enumeration Question
Thanks for all the
ove).
Hope this is clear?
Best,
Joe
-Original Message-
From: McDaniel, Joe
Sent: Wednesday, December 10, 2003 1:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Enumeration Question
Stuart,
I submitted a revised class for producing enumerations that will produce
more user-friendly enumerat
Hope this is clear?
Best,
Joe
-Original Message-
From: McDaniel, Joe
Sent: Wednesday, December 10, 2003 1:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Enumeration Question
Stuart,
I submitted a revised class for producing enumerations that will produce
more user-friendly enumerations (no
-Original Message-
From: Stuart Barlow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 6:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Enumeration Question
Apologies for continuing this old discussion but...
I see from the discussion that WSDL2Java is able to convert simple
d generate HO_HO_HO instead of VALUE1.
Joe
-Original Message-
From: McDaniel, Joe
Sent: Thursday, November 20, 2003 10:05 AM
To: [EMAIL PROTECTED]
Subject: RE: Enumeration Question
Hi Albert,
OK -- that makes a bit of sense although the type-safe "feature" then
means it is not compi
s,
then it will automatically generate useful values. IMHO, one should
simply replace spaces with _ and generate HO_HO_HO instead of VALUE1.
Joe
-Original Message-
From: McDaniel, Joe
Sent: Thursday, November 20, 2003 10:05 AM
To: [EMAIL PROTECTED]
Subject: RE: Enumeration Question
Hi A
n,
then the enumerations would be much more useful at compile time.
Best,
Joe
-Original Message-
From: Albert Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Enumeration Question
This is because wsdl2java generates "ty
This is because wsdl2java generates "typesafe enums" for each
enumeration. Basically, rather than just creating a series of "static
final" constants, it creates objects for each enumeration, which has a
major advantage of preventing you from assigning an invalid value to an
enumeration.
A good