• 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: Subclass EO class to conditionally return values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclass EO class to conditionally return values


  • Subject: Re: Subclass EO class to conditionally return values
  • From: Kieran Kelleher <email@hidden>
  • Date: Tue, 7 Feb 2006 13:27:48 -0500

Are you literally subclassing in code and not making a subclass in the model? AFAIK, subclasses of EnterpriseObjects need to be defined in the eomodel and the parent EO class needs to be defined there. If that's what you have done, check your model.

See this:
http://developer.apple.com/documentation/WebObjects/UsingEOModeler/ 7ModelingInheritance/chapter_7_section_1.html




On Feb 7, 2006, at 11:43 AM, John Huss wrote:

I'd like to subclass one of my custom EO classes and change it to only conditionally return some of its values. I figured I could accomplish this by just overriding valueForKey. When I try to use the subclass I get this error:

java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class RestrictedWeeklyInfo

How do I get around this? What's the best way to do something like this?

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


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: Subclass EO class to conditionally return values
      • From: "John Huss" <email@hidden>
References: 
 >Re: multi user increment (From: Mohapatra Ashish <email@hidden>)
 >Subclass EO class to conditionally return values (From: "John Huss" <email@hidden>)

  • Prev by Date: Re: Accessing the session in WOLongResponsePage.performAction
  • Next by Date: Re: Subclass EO class to conditionally return values
  • Previous by thread: Subclass EO class to conditionally return values
  • Next by thread: Re: Subclass EO class to conditionally return values
  • Index(es):
    • Date
    • Thread