Annotation pattern

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

Annotation pattern

Andre Hora
Hello,

What should be the conversion in the pragma #MSEClass:super: in #annotation methods? For now there is no conversion, example:

- super with dot and MSEClass without prefix of the meta-model (Famix)
FAMIXClass>>annotation
    <MSEClass: #Class super: 'FAMIX.Type'>

- super without dot and MSEClass without prefix of the meta-model (Famix)
FAMIXComment>>annotation
    <MSEClass: #Comment super: #FAMIXSourcedEntity>
    <package: #FAMIX>

- MSEClass with prefix of the meta-model (Hismo) and super without dot
HismoAbstractHistory>>annotation
    <MSEClass: #HismoAbstractHistory super: #FAMIXEntity>

I can fix it if you tell me correct pattern.

--
Andre Hora


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

Re: Annotation pattern

Tudor Girba-2
Hi,

On 26 Sep 2011, at 17:33, Andre Hora wrote:

> Hello,
>
> What should be the conversion in the pragma #MSEClass:super: in #annotation methods? For now there is no conversion, example:
>
> - super with dot and MSEClass without prefix of the meta-model (Famix)
> FAMIXClass>>annotation
>     <MSEClass: #Class super: 'FAMIX.Type'>
>
> - super without dot and MSEClass without prefix of the meta-model (Famix)
> FAMIXComment>>annotation
>     <MSEClass: #Comment super: #FAMIXSourcedEntity>
>     <package: #FAMIX>

This is the desired one. Please read the long mail discussion with Stef for more details.

Cheers,
Doru


> - MSEClass with prefix of the meta-model (Hismo) and super without dot
> HismoAbstractHistory>>annotation
>     <MSEClass: #HismoAbstractHistory super: #FAMIXEntity>
>
> I can fix it if you tell me correct pattern.
>
> --
> Andre Hora
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."





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

Re: Annotation pattern

Andre Hora
Fixed for Famix, see issue: http://code.google.com/p/moose-technology/issues/detail?id=723

On Mon, Sep 26, 2011 at 7:41 PM, Tudor Girba <[hidden email]> wrote:
Hi,

On 26 Sep 2011, at 17:33, Andre Hora wrote:

> Hello,
>
> What should be the conversion in the pragma #MSEClass:super: in #annotation methods? For now there is no conversion, example:
>
> - super with dot and MSEClass without prefix of the meta-model (Famix)
> FAMIXClass>>annotation
>     <MSEClass: #Class super: 'FAMIX.Type'>
>
> - super without dot and MSEClass without prefix of the meta-model (Famix)
> FAMIXComment>>annotation
>     <MSEClass: #Comment super: #FAMIXSourcedEntity>
>     <package: #FAMIX>

This is the desired one. Please read the long mail discussion with Stef for more details.

Cheers,
Doru


> - MSEClass with prefix of the meta-model (Hismo) and super without dot
> HismoAbstractHistory>>annotation
>     <MSEClass: #HismoAbstractHistory super: #FAMIXEntity>
>
> I can fix it if you tell me correct pattern.
>
> --
> Andre Hora
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."





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



--
Andre Hora


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