• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Class Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Class Problems


  • Subject: Re: Custom Class Problems
  • From: David Avendasora <email@hidden>
  • Date: Thu, 16 Feb 2006 15:05:24 +0000

Is there anyone out there with any ideas on this one?

If I have just the one custom class everything works fine. It doesn't matter if I use EOGenerator or EOModeler to generate the java files. As soon as I add the custom Part class, I can no longer sucessfully call addPart(Part value) in the Label custom class. It just fails with no message anywhere.

I can, however, add a Part to any other non-custom class in my application.

Thanks,

Dave

On Feb 15, 2006, at 10:27 AM, David Avendasora wrote:

Hi all,

I am building a D2JC application and up until now I have been simply using EOGenericRecord and Assistant to build most of the back-end data management functionality.

I'm now adding custom classes to handle the business logic. My first custom class (Label) worked just fine on it's own and I successfully added a new method an called it from the UI. Now I want to add logic to a related class (Part) but as soon as I convert it to a custom class I can no longer set the Part relationship of Label. I get no error messages in the app, in XCode or in the console.

EOGenerator updated the Label.setPart(EOGenericRecord aValue) method to Label.setPart(com.bestmaid.erp.client.Part aValue) but it just doesn't work and I get no error in the console. I've cleaned, rebuilt the index, deleted the build directories to be sure that I'm getting a brand-new build, but it just doesn't work.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40avendasora.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Custom Class Problems
      • From: Ken Anderson <email@hidden>
References: 
 >Custom Class Problems (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Most efficient character parsing.
  • Next by Date: Re: Custom Class Problems
  • Previous by thread: Custom Class Problems
  • Next by thread: Re: Custom Class Problems
  • Index(es):
    • Date
    • Thread