Hi Keith and other friendly member of the list
  Thank for your help. But I still have a problem, cause then I try to get
the object, Y receive a cast error. My database has a
'date' and I need to create an object 'mydate'.
  Is there any way to do it?
  Thanks again.


______________________________________________
Ing. Gustavo Rafael Pistoia
CDA Inform�tica S.A.
TE: 4343-5200.
Int (6329) 4566.


                                                                                       
                            
                    Keith Visco                                                        
                            
                    <kvisco@intal        Para:   [EMAIL PROTECTED]                 
                            
                    io.com>              cc:                                           
                            
                                         Asunto:      Re: [castor-dev] 2 classes       
                            
                    04/04/2002                                                         
                            
                    16:36                                                              
                            
                    Por favor,                                                         
                            
                    responda a                                                         
                            
                    castor-dev                                                         
                            
                                                                                       
                            
                                                                                       
                            




Gustavo,

This is possible. I've given a few examples of how to do this on the
list in the past.

Try this:

http://www.mail-archive.com/[email protected]/msg05371.html

--Keith

Gustavo Pistoia wrote:
>
> I hope this is a simple question:
> I have a class created manually. And other class generated. Can I make
the
> generated class to use
> may manually-defined class. For example:
>
>      <xsd:complexType name="GeneratedClass">
>           <xsd:sequence>
>                <sd:element name="when" type="ManuallyCreatedClass"/>
>                <xsd:element name="code" type="xsd:string"/>
>                <xsd:element name="description" type="xsd:string"/>
>           </xsd:sequence>
>      </xsd:complexType>
>
> THANKS!!!!
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
           unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to