Toon, your are right.
So bug not present in 3.0 then.
AA
On 19 Oct 2007, at 12:29 , Toon Verwaest wrote:
On (19/10/07 09:14), Adrian Kuhn wrote:
From: Adrian Kuhn <akuhn(a)gmx.ch>
To: Related to the development of Moose and other related tools
<moose-dev(a)iam.unibe.ch>ch>,
Stéphane Ducasse <stephane.ducasse(a)univ-savoie.fr>
Subject: [Moose-dev] Re: Bug in FAMIX 2.2
Date: Fri, 19 Oct 2007 09:14:56 +0200
-
Container must be single-values: FAMIX.Package.definedClass
What exactly means this sentence?
what is container package or namespace?
I do not remember how class extensions are modeled but this means
that we have a home package and severa extending packages.
the constraint is
EMOF.Class.allAttributes.count( p | p.isContainer ) <= 1
we best introduce drived owingPackage and ownedPackages to fix that
-
Opposites do not match: FAMIX.InheritanceDefinition.superclass
- Opposites do not match: FAMIX.InheritanceDefinition.subclass
I do not understand why subclass and superclass would have a problem
in FAMIX
I guess this is a type in the annotations.
Without looking at the FAMIX2.2 specification, just of the top of my
head, if superclass and subclass are defined as opposites in the
inheritance definition, this is a wrong usage of opposite. Opposite is
used as such in mse:
(MSE.Class (id: 1 )
(.. (MSE.Property (id: 2)
(opposite (idref: 4))
(type (idref: 3))
...)))
(MSE.Class (id: 3 )
(.. (MSE.Property (id: 4)
(opposite (idref: 2))
(type (idref: 1))
...)))
As you can see, the type of the opposite is always the Class in which
the "opposited: property is embedded. Which doesn't match for those 2
properties, since they are embedded in InheritanceDefinition, not in
Class.
- Opposites do not match:
FAMIX.Class.incomingInheritance
- Opposites do not match: FAMIX.Class.outgoingInheritance
Could we change the name outgoingInhertiance because this is
terrible. Consistent is good but not at that price.
generalizing...?
specializing...?
> - Container must be single-values:
FAMIX.Class.method
>
> cheers,
> AA
>
>
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev