Hi,
I was implementing a new element as subclass of FAMIXEntity than I created
an association between these new elements as subclass of FAMIXAssociation.
By browsing these associations I was getting a weird error related to the
sourceAnchor method. Than I realized that FAMIXAssociation is subclass of
FAMIXSourceEntity and that implement the sourceAnchor method as
^self from sourceAnchor.
Now my point is:
FAMIXAssociation should be subclass of FAMIXEntity because FAMIXAssociation
should be a superclass for any association between entities not just source
entities. In this way we can also ride of the method
FAMIXAssociation>>>sourceAnchor which I found disturbing.
Anyway, in the comment of FAMIXAssociation it is written: "FAMIXAssociation
is an abstract superclass for relationships between Famix named entities".
So I would like to push FAMIXAssociation up and make it subclass of
FAMIXEntity.
If you disagree, it should be at least push down as subclass of
FAMIXNamedEntity.
What do you think?
Cheers,
Fabrizio