Hello everyone
I generated a mse file (see attachment) which should generate 14 methods in the class ' Superclass', but here are 17 methods shown in the moose browser (some methods are duplicated). The file seems ok, so I think there is a bug in moose, reading the file.
Cheers Sandro
(Moose.Model (name 'frittelitest') (entity (FAMIX.Method (id: 1) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 2) (name 'put') (belongsTo (idref: 14)) (signature 'put')) (FAMIX.Method (id: 3) (name 'size') (belongsTo (idref: 14)) (signature 'size')) (FAMIX.Method (id: 4) (name 'main') (belongsTo (idref: 15)) (signature 'main')) (FAMIX.Method (id: 5) (name 'isEmpty') (belongsTo (idref: 14)) (signature 'isEmpty')) (FAMIX.Method (id: 6) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 7) (name 'containsValue') (belongsTo (idref: 14)) (signature 'containsValue')) (FAMIX.Method (id: 8) (name 'entrySet') (belongsTo (idref: 14)) (signature 'entrySet')) (FAMIX.Method (id: 9) (name 'putAll') (belongsTo (idref: 14)) (signature 'putAll')) (FAMIX.Method (id: 10) (name 'remove') (belongsTo (idref: 14)) (signature 'remove')) (FAMIX.Method (id: 11) (name 'containsKey') (belongsTo (idref: 14)) (signature 'containsKey')) (FAMIX.Method (id: 12) (name 'get') (belongsTo (idref: 14)) (signature 'get')) (FAMIX.Namespace (id: 13) (name 'frittelitest') (class (idref: 14) (idref: 16) (idref: 15))) (FAMIX.Class (id: 14) (name 'Superclass') (NOA 0) (NOM 14) (method (idref: 1) (idref: 6) (idref: 19) (idref: 11) (idref: 7) (idref: 8) (idref: 12) (idref: 5) (idref: 17) (idref: 2) (idref: 9) (idref: 10) (idref: 3) (idref: 20))) (FAMIX.Class (id: 16) (name 'Subclass') (NOA 0) (NOM 1) (method (idref: 18))) (FAMIX.Class (id: 15) (name 'Main') (NOA 0) (NOM 1) (method (idref: 4))) (FAMIX.Method (id: 17) (name 'keySet') (belongsTo (idref: 14)) (signature 'keySet')) (FAMIX.Method (id: 18) (name 'foo') (belongsTo (idref: 16)) (signature 'foo')) (FAMIX.Method (id: 19) (name 'clear') (belongsTo (idref: 14)) (signature 'clear')) (FAMIX.Method (id: 20) (name 'values') (belongsTo (idref: 14)) (signature 'values'))))
Thanks Sandro. We will look into that.
Cheers, Doru
On Nov 22, 2007, at 3:31 PM, Sandro De Zanet wrote:
Hello everyone
I generated a mse file (see attachment) which should generate 14 methods in the class ' Superclass', but here are 17 methods shown in the moose browser (some methods are duplicated). The file seems ok, so I think there is a bug in moose, reading the file.
Cheers Sandro (Moose.Model (name 'frittelitest') (entity (FAMIX.Method (id: 1) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 2) (name 'put') (belongsTo (idref: 14)) (signature 'put')) (FAMIX.Method (id: 3) (name 'size') (belongsTo (idref: 14)) (signature 'size')) (FAMIX.Method (id: 4) (name 'main') (belongsTo (idref: 15)) (signature 'main')) (FAMIX.Method (id: 5) (name 'isEmpty') (belongsTo (idref: 14)) (signature 'isEmpty')) (FAMIX.Method (id: 6) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 7) (name 'containsValue') (belongsTo (idref: 14)) (signature 'containsValue')) (FAMIX.Method (id: 8) (name 'entrySet') (belongsTo (idref: 14)) (signature 'entrySet')) (FAMIX.Method (id: 9) (name 'putAll') (belongsTo (idref: 14)) (signature 'putAll')) (FAMIX.Method (id: 10) (name 'remove') (belongsTo (idref: 14)) (signature 'remove')) (FAMIX.Method (id: 11) (name 'containsKey') (belongsTo (idref: 14)) (signature 'containsKey')) (FAMIX.Method (id: 12) (name 'get') (belongsTo (idref: 14)) (signature 'get')) (FAMIX.Namespace (id: 13) (name 'frittelitest') (class (idref: 14) (idref: 16) (idref: 15))) (FAMIX.Class (id: 14) (name 'Superclass') (NOA 0) (NOM 14) (method (idref: 1) (idref: 6) (idref: 19) (idref: 11) (idref: 7) (idref: 8) (idref: 12) (idref: 5) (idref: 17) (idref: 2) (idref: 9) (idref: 10) (idref: 3) (idref: 20))) (FAMIX.Class (id: 16) (name 'Subclass') (NOA 0) (NOM 1) (method (idref: 18))) (FAMIX.Class (id: 15) (name 'Main') (NOA 0) (NOM 1) (method (idref: 4))) (FAMIX.Method (id: 17) (name 'keySet') (belongsTo (idref: 14)) (signature 'keySet')) (FAMIX.Method (id: 18) (name 'foo') (belongsTo (idref: 16)) (signature 'foo')) (FAMIX.Method (id: 19) (name 'clear') (belongsTo (idref: 14)) (signature 'clear')) (FAMIX.Method (id: 20) (name 'values') (belongsTo (idref: 14)) (signature 'values')))) _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"To lead is not to demand things, it is to make them happen."
Hi sandro
did you generate this model from Moose (I mean is it Smalltalk code represented) ? On 22 nov. 07, at 15:31, Sandro De Zanet wrote:
Hello everyone
I generated a mse file (see attachment) which should generate 14 methods in the class ' Superclass', but here are 17 methods shown in the moose browser (some methods are duplicated). The file seems ok, so I think there is a bug in moose, reading the file.
Cheers Sandro (Moose.Model (name 'frittelitest') (entity (FAMIX.Method (id: 1) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 2) (name 'put') (belongsTo (idref: 14)) (signature 'put')) (FAMIX.Method (id: 3) (name 'size') (belongsTo (idref: 14)) (signature 'size')) (FAMIX.Method (id: 4) (name 'main') (belongsTo (idref: 15)) (signature 'main')) (FAMIX.Method (id: 5) (name 'isEmpty') (belongsTo (idref: 14)) (signature 'isEmpty')) (FAMIX.Method (id: 6) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 7) (name 'containsValue') (belongsTo (idref: 14)) (signature 'containsValue')) (FAMIX.Method (id: 8) (name 'entrySet') (belongsTo (idref: 14)) (signature 'entrySet')) (FAMIX.Method (id: 9) (name 'putAll') (belongsTo (idref: 14)) (signature 'putAll')) (FAMIX.Method (id: 10) (name 'remove') (belongsTo (idref: 14)) (signature 'remove')) (FAMIX.Method (id: 11) (name 'containsKey') (belongsTo (idref: 14)) (signature 'containsKey')) (FAMIX.Method (id: 12) (name 'get') (belongsTo (idref: 14)) (signature 'get')) (FAMIX.Namespace (id: 13) (name 'frittelitest') (class (idref: 14) (idref: 16) (idref: 15))) (FAMIX.Class (id: 14) (name 'Superclass') (NOA 0) (NOM 14) (method (idref: 1) (idref: 6) (idref: 19) (idref: 11) (idref: 7) (idref: 8) (idref: 12) (idref: 5) (idref: 17) (idref: 2) (idref: 9) (idref: 10) (idref: 3) (idref: 20))) (FAMIX.Class (id: 16) (name 'Subclass') (NOA 0) (NOM 1) (method (idref: 18))) (FAMIX.Class (id: 15) (name 'Main') (NOA 0) (NOM 1) (method (idref: 4))) (FAMIX.Method (id: 17) (name 'keySet') (belongsTo (idref: 14)) (signature 'keySet')) (FAMIX.Method (id: 18) (name 'foo') (belongsTo (idref: 16)) (signature 'foo')) (FAMIX.Method (id: 19) (name 'clear') (belongsTo (idref: 14)) (signature 'clear')) (FAMIX.Method (id: 20) (name 'values') (belongsTo (idref: 14)) (signature 'values')))) _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
I believe this is from the j2mse Eclipse plugin he is writing.
Doru
On Nov 22, 2007, at 9:33 PM, Stéphane Ducasse wrote:
Hi sandro
did you generate this model from Moose (I mean is it Smalltalk code represented) ? On 22 nov. 07, at 15:31, Sandro De Zanet wrote:
Hello everyone
I generated a mse file (see attachment) which should generate 14 methods in the class ' Superclass', but here are 17 methods shown in the moose browser (some methods are duplicated). The file seems ok, so I think there is a bug in moose, reading the file.
Cheers Sandro (Moose.Model (name 'frittelitest') (entity (FAMIX.Method (id: 1) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 2) (name 'put') (belongsTo (idref: 14)) (signature 'put')) (FAMIX.Method (id: 3) (name 'size') (belongsTo (idref: 14)) (signature 'size')) (FAMIX.Method (id: 4) (name 'main') (belongsTo (idref: 15)) (signature 'main')) (FAMIX.Method (id: 5) (name 'isEmpty') (belongsTo (idref: 14)) (signature 'isEmpty')) (FAMIX.Method (id: 6) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 7) (name 'containsValue') (belongsTo (idref: 14)) (signature 'containsValue')) (FAMIX.Method (id: 8) (name 'entrySet') (belongsTo (idref: 14)) (signature 'entrySet')) (FAMIX.Method (id: 9) (name 'putAll') (belongsTo (idref: 14)) (signature 'putAll')) (FAMIX.Method (id: 10) (name 'remove') (belongsTo (idref: 14)) (signature 'remove')) (FAMIX.Method (id: 11) (name 'containsKey') (belongsTo (idref: 14)) (signature 'containsKey')) (FAMIX.Method (id: 12) (name 'get') (belongsTo (idref: 14)) (signature 'get')) (FAMIX.Namespace (id: 13) (name 'frittelitest') (class (idref: 14) (idref: 16) (idref: 15))) (FAMIX.Class (id: 14) (name 'Superclass') (NOA 0) (NOM 14) (method (idref: 1) (idref: 6) (idref: 19) (idref: 11) (idref: 7) (idref: 8) (idref: 12) (idref: 5) (idref: 17) (idref: 2) (idref: 9) (idref: 10) (idref: 3) (idref: 20))) (FAMIX.Class (id: 16) (name 'Subclass') (NOA 0) (NOM 1) (method (idref: 18))) (FAMIX.Class (id: 15) (name 'Main') (NOA 0) (NOM 1) (method (idref: 4))) (FAMIX.Method (id: 17) (name 'keySet') (belongsTo (idref: 14)) (signature 'keySet')) (FAMIX.Method (id: 18) (name 'foo') (belongsTo (idref: 16)) (signature 'foo')) (FAMIX.Method (id: 19) (name 'clear') (belongsTo (idref: 14)) (signature 'clear')) (FAMIX.Method (id: 20) (name 'values') (belongsTo (idref: 14)) (signature 'values')))) _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"From an abstract enough point of view, any two things are similar."
Hi Stéphane
No, it is generated from my eclipse plugin, which transforms java in to famix.
cheers Sandro
Stéphane Ducasse schrieb:
Hi sandro
did you generate this model from Moose (I mean is it Smalltalk code represented) ? On 22 nov. 07, at 15:31, Sandro De Zanet wrote:
Hello everyone
I generated a mse file (see attachment) which should generate 14 methods in the class ' Superclass', but here are 17 methods shown in the moose browser (some methods are duplicated). The file seems ok, so I think there is a bug in moose, reading the file.
Cheers Sandro (Moose.Model (name 'frittelitest') (entity (FAMIX.Method (id: 1) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 2) (name 'put') (belongsTo (idref: 14)) (signature 'put')) (FAMIX.Method (id: 3) (name 'size') (belongsTo (idref: 14)) (signature 'size')) (FAMIX.Method (id: 4) (name 'main') (belongsTo (idref: 15)) (signature 'main')) (FAMIX.Method (id: 5) (name 'isEmpty') (belongsTo (idref: 14)) (signature 'isEmpty')) (FAMIX.Method (id: 6) (name 'foo') (belongsTo (idref: 14)) (signature 'foo')) (FAMIX.Method (id: 7) (name 'containsValue') (belongsTo (idref: 14)) (signature 'containsValue')) (FAMIX.Method (id: 8) (name 'entrySet') (belongsTo (idref: 14)) (signature 'entrySet')) (FAMIX.Method (id: 9) (name 'putAll') (belongsTo (idref: 14)) (signature 'putAll')) (FAMIX.Method (id: 10) (name 'remove') (belongsTo (idref: 14)) (signature 'remove')) (FAMIX.Method (id: 11) (name 'containsKey') (belongsTo (idref: 14)) (signature 'containsKey')) (FAMIX.Method (id: 12) (name 'get') (belongsTo (idref: 14)) (signature 'get')) (FAMIX.Namespace (id: 13) (name 'frittelitest') (class (idref: 14) (idref: 16) (idref: 15))) (FAMIX.Class (id: 14) (name 'Superclass') (NOA 0) (NOM 14) (method (idref: 1) (idref: 6) (idref: 19) (idref: 11) (idref: 7) (idref: 8) (idref: 12) (idref: 5) (idref: 17) (idref: 2) (idref: 9) (idref: 10) (idref: 3) (idref: 20))) (FAMIX.Class (id: 16) (name 'Subclass') (NOA 0) (NOM 1) (method (idref: 18))) (FAMIX.Class (id: 15) (name 'Main') (NOA 0) (NOM 1) (method (idref: 4))) (FAMIX.Method (id: 17) (name 'keySet') (belongsTo (idref: 14)) (signature 'keySet')) (FAMIX.Method (id: 18) (name 'foo') (belongsTo (idref: 16)) (signature 'foo')) (FAMIX.Method (id: 19) (name 'clear') (belongsTo (idref: 14)) (signature 'clear')) (FAMIX.Method (id: 20) (name 'values') (belongsTo (idref: 14)) (signature 'values')))) _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev