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 qualifierisImportant =
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
Sounds like you’re about to shoot yourself in the foot :) I really wouldn’t
subclass here. If is_important can change, that’s a bad idea. It sounds like a
mutable attribute.
You can set up a method on your article EO called importantPDFs() and use that
as a propertyKey in your rules. Since it
What Ramsey said: your implementation is a Really Bad Idea (tm). This is a
state not a sub-type.
On 2014-08-18, 1:17 PM, Ramsey Gurley wrote:
Sounds like you’re about to shoot yourself in the foot :) I really wouldn’t
subclass here. If is_important can change, that’s a bad idea. It sounds