subclassing an Entity
subclassing an Entity
- Subject: subclassing an Entity
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 18 Aug 2014 15:07:09 -0400
I have an Entity Article with a to-many to pdfs and to-one to thePDF.
I subclassed the Entity ‘PDF’ to ImportantPDF with a qualifier isImportant = 1 and I set up the relationship from Article to ImportantPDF.
it almost works. If I have an Article with one uploaded pdf, and isImportant is false, I see the asset listed in the pdfs List. however if I isImportant = true (attribute of pdf) then the asset is listed on the isImportant list and twice on the pdf list.
_______________________________________________
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