Hm, there is not enough information in your message to tell. If you had

    <xs:element name="DATE_CREATION" type="xs:date" minOccurs="0"/>

then I would have been surprised to see a "String" return type. But since your 
type is "Date" which looks like a user-defined type, then it's possible that it 
maps to String.

Radu

-----Original Message-----
From: Celinio Fernandes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 6:27 AM
To: [email protected]
Subject: (Date to Date) instead of (Date to String)


Hi,
Maybe I am missing something, please tell me if this is the case.

I generated the javabean classes using the scomp command, under DOS.

One thing that I do not understand is that it seems it has generated
wrong return types for the getters / setters
for the tags of type Date.

For instance:
        <xs:element name="DATE_CREATION" type="Date" minOccurs="0"/>
has generated a getter that returns a String, instead of a date :

         String
noNamespace.MPGPVCDocument.MPGPVC.EPJ.IOS.IO.getDATECREATION()

Does anyone have any information regarding this ?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to