Hi,
What is the difference between:
FAMIXContainerEntity>>types <MSEProperty: #types type: #FAMIXType opposite: #container> <multivalued> <derived> ^types
and
FAMIXPackage>>childNamedEntities <MSEProperty: #childNamedEntities type: #FAMIXNamedEntity opposite: #parentPackage> <multivalued> <derived> ^childNamedEntities
Thanks
Cheers
--- Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr ---
there was a discussion about that a few weeks ago.
basically #types is meants to contain only types defined in a Container, typically a Namespace, while childNamedEntities contains all kinds of entities belonging to a package, including classes, other packages, methods...
On 1 avr. 09, at 15:57, Laval Jannik wrote:
Hi,
What is the difference between:
FAMIXContainerEntity>>types <MSEProperty: #types type: #FAMIXType opposite: #container> <multivalued> <derived> ^types
and
FAMIXPackage>>childNamedEntities <MSEProperty: #childNamedEntities type: #FAMIXNamedEntity opposite: #parentPackage> <multivalued> <derived> ^childNamedEntities
Thanks
Cheers
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Isn't it a regression compare to Famix2 ?
In Famix2, there are a variable "classes" where all classes are contained, a variable packagedIn with the parent package... Now, all of this are in the same list, "childNamedEntities".
I will see the old discussion :)
Cheers Jannik
Le 1 avr. 09 à 16:11, Simon Denier a écrit :
there was a discussion about that a few weeks ago.
basically #types is meants to contain only types defined in a Container, typically a Namespace, while childNamedEntities contains all kinds of entities belonging to a package, including classes, other packages, methods...
On 1 avr. 09, at 15:57, Laval Jannik wrote:
Hi,
What is the difference between:
FAMIXContainerEntity>>types <MSEProperty: #types type: #FAMIXType opposite: #container> <multivalued> <derived> ^types
and
FAMIXPackage>>childNamedEntities <MSEProperty: #childNamedEntities type: #FAMIXNamedEntity opposite: #parentPackage> <multivalued> <derived> ^childNamedEntities
Thanks
Cheers
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--- Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr ---
On 1 avr. 09, at 16:20, Laval Jannik wrote:
Isn't it a regression compare to Famix2 ?
In Famix2, there are a variable "classes" where all classes are contained, a variable packagedIn with the parent package...
Think in terms of APIs and not implementation variables.
Now there is parentPackage directly in the API :)
as for childNamedEntities, there are some helper methods like definedClasses, definedMethods, extendedClasses.... to select what you want in the list (in the long term, such methods could use a cache)
Now, all of this are in the same list, "childNamedEntities".
I will see the old discussion :)
Cheers Jannik
Le 1 avr. 09 à 16:11, Simon Denier a écrit :
there was a discussion about that a few weeks ago.
basically #types is meants to contain only types defined in a Container, typically a Namespace, while childNamedEntities contains all kinds of entities belonging to a package, including classes, other packages, methods...
On 1 avr. 09, at 15:57, Laval Jannik wrote:
Hi,
What is the difference between:
FAMIXContainerEntity>>types <MSEProperty: #types type: #FAMIXType opposite: #container> <multivalued> <derived> ^types
and
FAMIXPackage>>childNamedEntities <MSEProperty: #childNamedEntities type: #FAMIXNamedEntity opposite: #parentPackage> <multivalued> <derived> ^childNamedEntities
Thanks
Cheers
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon