Re: Ternary Relationship cardinality
From: Jan Hidders <hidders_at_gmail.com>
Date: 19 Sep 2006 04:47:15 -0700
Message-ID: <1158666435.167059.327550_at_b28g2000cwb.googlegroups.com>
Date: 19 Sep 2006 04:47:15 -0700
Message-ID: <1158666435.167059.327550_at_b28g2000cwb.googlegroups.com>
miklesw_at_gmail.com wrote:
> > Ah, wait, now I understand your sub/superclass annotation. You say that
> > Child is a subclass of Parent (btw. letting both be a subclass of Dog
> > or whatever might be more logical) and a dog is in the class Child iff
> > it has parents.In that case there is no problem.
>
> I don't think I can generalize both in 1 class... the actual heirarchy
> is abit more complex than the parent/child example.
>
> Person
> IS A
> CoolerPerson(who can take part in breeding)
> IS A
> ChildPerson OR EvenCoolerPerson
- Jan Hidders