This is not the intended behavior. The all* methods should be reserved for direct querying of the group storage. Like we have in the MooseModel.
I would name the method in FAMIXMethodGroup parentPackages.
Cheers,
Doru
On 12 Oct 2010, at 19:57, Alexandre Bergel wrote:
> Hi!
>
> The following raises an error. Is this intended?
>
> | group fClass |
> fClass := FAMIXClass new.
> group := FAMIXMethodGroup new.
> group
> add: (FAMIXMethod new name: 'name1'; parentType: fClass);
> add: (FAMIXMethod new name: 'name2'; parentType: fClass);
> add: (FAMIXMethod new name: 'name3'; parentType: fClass).
> group allPackages
>
> allPackages cannot be computed.
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
>
[hidden email]
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev--
www.tudorgirba.com
"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev