Hi,
On 23 Sep 2011, at 22:15, Stéphane Ducasse wrote:
Hi guys
Is there a reason why we get #Attribute and not FAMIXAttribute
I do not understand. Do you refer to the name of the MetaDescription? If yes, that is because the qualified name is 'FAMIX.Attribute', given that it belongs to the FAMIX package. So, there is no need to prefix the class name.
and/or super: #FAMIXStructuredEntity instead of
super: 'FAMIX.StructuredEntity'
Ok, this is pretty much crappy :). #FAMIXStructuredEntity will perform a lookup of the class in the Smalltalk image. 'FAMIX.StructuredEntity' will perform it in the Fame meta repository. We should only use symbols because they are also affected by refactorings. I will create a rule :).
So I would prefer to have something regular either
#'FAMIX.Attribute' super: #'FAMIX.StructuredEntity' or #Attribute super: #StructuredEntity
In fact I would prefer
#'FAMIXAttribute' super: #'FAMIXStructuredEntity
No. It should be: MSEClass: 'Attribute' super: #FAMIXStructuralEntity
Cheers, Doru
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"What is more important: To be happy, or to make happy?"