Hi Alex,
belongsTo points to the FAMIXNamespace.
packagedIn points to the FAMIXPackage.
We model Java packages as FAMIXNamespaces, so you should use
FAMIXClass>>setBelongsTo: . Furthermore, we also consider that a
FAMIXNamespace representing a Java package belongsTo the
FAMIXNamespace that represents the parent Java package.
Cheeers,
Doru
On Apr 13, 2008, at 11:48 PM, Alexandre Bergel wrote:
Hi!
I wish to specify that a class belongs to a package. Which of these
invocations should I use?
famixClass setBelongsTo: package.
famixClass packageIn: package
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
www.tudorgirba.com/blog
"Every thing should have the right to be different."