On 03.07.2006, at 4:34 Uhr, Mr. G Brown wrote:

a VerifiedPatient 'is a' PatientAlias , (a special alias, which is why I asked about inheritance), AND 'has a' to many relationship with objects of its parent class (PatientAliases). Of course it will work to have a VerifiedPatient table and a PatientAlias table and cut and paste common code, properties, etc. between the classes, but that's not very DRY (don't repeat yourself) and OO, but it may have to do.

You don't have to use inheritance to not repeat yourself. You may work with composition.

You have a couple of entities:

PatientAlias <<---> VerifiedPatient

and

PatientData to which you may have relationships to both of the patient entities.

cug

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

This email sent to [email protected]

Reply via email to