Issue 568 in moose-technology: EnumValue should be a StructuralEntity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 568 in moose-technology: EnumValue should be a StructuralEntity

moose-technology
Status: New
Owner: [hidden email]
Labels: Type-Defect Priority-Medium Component-Famix Milestone-4.4

New issue 568 by [hidden email]: EnumValue should be a  
StructuralEntity
http://code.google.com/p/moose-technology/issues/detail?id=568

 From Nicolas:

Why is EnumValue not a StructuralEntity ? (it is a NamedEntity)

 From http://download.oracle.com/javase/tutorial/java/javaOO/enum.html
"An enum type is a type whose fields consist of a fixed set of constants."

they are considered fields in Java ...

I just realized Verveine does not export access to enumValues.
But with the meta-model I have (bare 4.3), it seems an access to an  
enumValue is an invocation.

This is counter intuitive.


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 568 in moose-technology: EnumValue should be a StructuralEntity

moose-technology

Comment #1 on issue 568 by [hidden email]: EnumValue should be a  
StructuralEntity
http://code.google.com/p/moose-technology/issues/detail?id=568

Issue 569 has been merged into this issue.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 568 in moose-technology: EnumValue should be a StructuralEntity

moose-technology

Comment #2 on issue 568 by [hidden email]: EnumValue should be a  
StructuralEntity
http://code.google.com/p/moose-technology/issues/detail?id=568

I took a look at the code and EnumValue inherits from StructuralEntity at  
the Smalltalk code level. It was just that the annotation that was wrong.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 568 in moose-technology: EnumValue should be a StructuralEntity

moose-technology

Comment #3 on issue 568 by [hidden email]: EnumValue should be a  
StructuralEntity
http://code.google.com/p/moose-technology/issues/detail?id=568

Name: Famix-Java-TudorGirba.49
Author: TudorGirba
Time: 6 April 2011, 9:13:20 pm
UUID: eab6b4c9-907e-4b89-8ce1-2b798ecef7fa
Ancestors: Famix-Java-TudorGirba.48

fixed EnumValue annotation

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 568 in moose-technology: EnumValue should be a StructuralEntity

moose-technology
Updates:
        Status: Fixed

Comment #4 on issue 568 by [hidden email]: EnumValue should be a  
StructuralEntity
http://code.google.com/p/moose-technology/issues/detail?id=568

(No comment was entered for this change.)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev