Hi,

Le 21 déc. 2016 à 14:23, Blondeau Vincent <vincent.blondeau@worldline.com> a écrit :

Hello,
 
Still in the context of Moose re-architecting, we detected that parentSelector is defined at FAMIXNamedEntity level but is only used for Smalltalk model at FamixMethod and FamixClass.
As parentSelector is a container, it should not be defined at a too high level.

You must have read: as parentPackage is a parentSelector (i.e. a way to access the container),  it should not be defined at a too high level.

For example, a FAMIXAttribute has a parentPackage, that corresponds to the parentPackage of its class because a FAMIXAttribute can not be directly in a Package. Since parentPackage is not a computed feature, it has to be set when the attribute is moved to another class belonging to another package that the original class.

Moreover, due to this, almost all classes inherited from FAMIXNamedEntity have two parentSelectors, what does not make sense. Once again, an Attribute can only be contained to a Class.

 
We suggest to move down this property to this both subclasses. Has someone something against it?

An other possibility is to not consider parentPackage as a parentSelector for FAMIXNamedEntity.

Anne

Thanks in advance,
 
Cheers,
Anne & Vincent
 
 
 
 
Vincent BLONDEAU
 
RMOD Team
Bât B - Bureau 306
Centre de recherche
Lille-Nord Europe
+33 (0)3 59 35 87 45
 
<image001.jpg>
 
<image002.gif>
Software Architects
SDCO
ZI A, rue de la Pointe
59113 SECLIN 
+33.(0)3.28.54.41.54 
 

!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev