API Inconsistencies like this drive me crazy! What metaphor are we using? Parent/Child? Superclass/Subclass?
Apparently the answer is "Yes". To get the EOEntity that myEntity inherits from you call myEOEntity.parent() Okay, Fine. We're using the Parent/Child metaphor. To get the EOEntities that inherit from myEntity you call myEntity.subEntities(). Wait. Whaaa??? WTF. Really? Two sides of one structure and you can't use the same metaphor? I tells ya, it makes me almost want to get up out of my rocking chair and dope-slap someone. But of course any impact that might have would be quickly erased by the simultaneous groveling hero-worship of the people who have made my coding life so easy that mixed metaphors piss me off. Dave On Oct 26, 2012, at 9:00 AM, Chuck Hill <[email protected]> wrote: > EOEntity.subEntities: > > subEntities > > public NSArray subEntities() > Returns a list of those entities that inherit from the receiver, or an empty > array if no entities inherit from the receiver. > Returns: An array of the receiver's sub-entities, or an empty array. > See Also: EOEntity.addSubEntity(EOEntity child), EOEntity.parentEntity(), > EOEntity.removeSubEntity(EOEntity child) > > > > On 2012-10-25, at 5:36 PM, Johnny Miller wrote: > >> What's the way to find all the entities that subclass a given entity? >> >> Thanks in advance, >> >> Aloha, >> Mr. Johnny Miller >> Web Development Manager >> Kahalawai Media Company >> Lahaina, HI 96761 >> tel: (808) 661-7962 | mobile: (808) 283-0791 >> website | e-mail >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to [email protected] > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing > Companies in B.C! > Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of > Canada’s Fastest-Growing Companies by PROFIT Magazine! > > > > > > > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com > > This email sent to [email protected] ————————————————————————————— WebObjects - so easy that even Dave Avendasora can do it!™ ————————————————————————————— David Avendasora Senior Software Abuser Kaiten, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
