Luke,
If you need an object to extend a specific superclasses, couldn't you just
specify that the object extends the superclass in the schema? Of course, you
will have to map the namespaces in castorbuilder.properties, but that seems
feasible to me -

Hope this helps -
Margaret

-----Original Message-----
From: Stephens, Luke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 5:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Object Generation using Schema - Way to
implemen t an interface and or specify methods


Yes, I am aware of that, but I would like to specify superclass(es) and
Interface implementations for each class individually. Any way of doing
this?

Luke

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Object Generation using Schema - Way to
implement an interface and or specify methods



You can specify a superclass for the generated source.

See castorbuilder.properties...

--Keith

"Stephens, Luke" wrote:
> 
> Group,
> 
> I am wondering if there is a way to tell Castor (when generating objects
> from a schema) that a generated object implements a specific interface. I
am
> also looking to see if there is a way to specify methods. My concern is
that
> if I need to add a method to a generated class, then if/when I need to
> regenerate the class (the schema changes) I am going to loose my custom
> method.
> 
> Luke Stephens
> 
> -----------------------------------------------------------
> 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

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

Reply via email to