I think Homer said it best, "Doh!"

-tim

> -----Original Message-----
> From: Nick Newman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 1:11 PM
> To: Orion-Interest
> Subject: Re: dependent object - deepCopy()?
> 
> 
> Hi Tim,
> 
> The important word in the error message is ABSTRACT.  In 
> other words, you
> DON'T implement it!  You just write:
> 
>       public abstract Address deepCopy();
> 
> and orion does the rest.
> 
> Nick
> 
> At 12:13 PM 10/16/00 -0400, you wrote:
> >
> >I have an EJB, Contact, and a dependent object, Address.
> >I have the deployment descriptor setup using the <dependents>
> >and <relationships> area (based on another user's post).
> >
> >When I deploy, Orion throws this message at me:
> >
> >Error Compiling file <...>: The dependent class tfc.Address
> >should implement a "public abstract tfc.Address deepCopy()
> >method"
> >
> >How do I implement this?  Where is the documentation on
> >this method?
> >
> >I tried:
> >
> >public Address deepCopy()
> >{
> >   Address a = new Address(this.street1, this.street2, ....);
> >   return a;
> >}
> >
> >but I still got the same error upon deployment.
> >
> >Any ideas?
> >
> >-tim
> 
> 

Reply via email to