I am not sure why you want to do this in the metamodel?
May be there is something I am not understanding here.
Anyway, with Anne Etien, we are implementing something to compare two
models and find if two entities model the same thing (typically two
FamixMethods modelling the same concrete method in two versions of a
software)
We defined several methods:
- a isVersion: b
a and b have the same class, the same name and their owners are
isVersion: one of the other
- a equalNoName: b
similar to isVersion, but we allow them to have different names (allows
renaming)
- a equalNoOwner: b
similar to isVersion, but we allow them to have different owners (allows
moving)
is any of this similar to what you want?
nicolas
On 06/13/2013 11:35 AM, Serge Stinckwich wrote:
Hi all,
I want to implement equivalence relation on FAMIX entities.
For example, methods m1, m2 are equivalent if they have the same name,
same signature and their classes have the same name.
Any idea to introduce these relations in a customizable way in FAMIX ?
I guess I have to introduce a new meta-model in the FAMIX family ?
Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Nicolas Anquetil -- RMod research team (Inria)