In actuality, my relationship is Patient<<->Responsible Patient. The 
responsible is the person who gets the bill in the family. So yes, if there are 
no dependent patients, the to-many returns an array with just the responsible, 
since the responsible patient relationship is mandatory. Further, I didn’t 
design the thing, it’s just a mirror of godawful dental practice management 
schemas.

But that’s boring. Really I just wanted to work the pointy haired 
boss<->>underlings relationship into my message somehow ;)

On Apr 29, 2015, at 5:43 PM, David Avendasora <webobje...@avendasora.com> wrote:

> Hi Ramsey!
> 
>> On Apr 27, 2015, at 2:51 PM, Ramsey Gurley <rgur...@smarthealth.com> wrote:
>> 
>> As an example, let’s say you have an Employee entity. 
> 
> Okay. Way better than a “Foo"!
> 
>> Employee has a relationship to Employee named manager, the reverse of which 
>> is subordinates.
> 
> Right. Makes sense.
> 
>> Further assume manager is top level so a manager’s manager is himself.
> 
> Screeech. What?! You implement the concept of an Employee not having a 
> related “manager” by … (did I really read that right?!) … by adding a 
> manager?! 
> 
>> If you are given a single Employee, and want to know something about all 
>> subordinates, 
> 
> What if they don’t have any subordinates? Do you return an array of Employees 
> consisting of just the Employee themselves?
> 
> I really haven’t been able to parse the rest of the email because my brain 
> just crashed with a buffer overflow caused by the endless recursion of 
> fetching a manager’s manager. Fortunately, it only overwrote the part of my 
> memory that stored my WO knowledge-base.
> 
> So, can anyone help me with this Java Client app?
> 
> See what you did Ramsey? See!?!?
> 
> Dave
> 
> —————————————————————————————
> WebObjects - so easy that even Dave Avendasora can do it!™
> —————————————————————————————
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to