hi,
i'm new at this and i'm helping in the develop of an extension for moose-famix with aspects, but for this we need some data so we could make a good store of the correct data in the model. We need to get more ids for our new structures and for the famix structures that we added when we parse a project with aspectJ in eclipse.
The project name is aspectmaps and you could see in http://www.pleiad.cl/research/software/aspectmaps
i hope you could help me with this little problem and sorry for my bad english, i'm still learning -- Miguel Enrique Campusano Araya Estudiante de Ingeniería Civil en Computación
Universidad de Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On 01 Jun 2011, at 01:03, Miguel Enrique Campusano Araya wrote: hi, -- Johan Fabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Johan,
On 1 Jun 2011, at 14:55, Johan Fabry wrote: > > Miguel is doing this as a student of mine, the problem that we are having is that we may need to add new types to the famix model, but we dont know how the procedure for this. The procedure is to create subclasses of FAMIXEntity and meta-describe them. Or do you have more specific problems? > In an MSE we see that each enity has a unique ID, so we want to know if/how we can generate this ID from within moose itself. The ID is for objects, not for types and they are used basically for reference management. It is the responsibility of the exporter to properly create and manage the ids. Does it answer your question? Cheers, Doru > On 01 Jun 2011, at 01:03, Miguel Enrique Campusano Araya wrote: > >> hi, >> i'm new at this and i'm helping in the develop of an extension for moose-famix with aspects, but for this we need some data so we could make a good store of the correct data in the model. We need to get more ids for our new structures and for the famix structures that we added when we parse a project with aspectJ in eclipse. >> The project name is aspectmaps and you could see in http://www.pleiad.cl/research/software/aspectmaps >> >> i hope you could help me with this little problem >> and sorry for my bad english, i'm still learning >> >> >> -- >> Miguel Enrique Campusano Araya >> Estudiante de Ingeniería Civil en Computación >> Universidad de Chile >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > Johan Fabry > [hidden email] - http://dcc.uchile.cl/~jfabry > PLEIAD Lab - Computer Science Department (DCC) - University of Chile > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "It's not what we do that matters most, it's how we do it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On 01 Jun 2011, at 09:09, Tudor Girba wrote: > Hi Johan, > > On 1 Jun 2011, at 14:55, Johan Fabry wrote: > >> >> Miguel is doing this as a student of mine, the problem that we are having is that we may need to add new types to the famix model, but we dont know how the procedure for this. > > The procedure is to create subclasses of FAMIXEntity and meta-describe them. Or do you have more specific problems? That is adding to the meta-model :-P but yes, we are doing that as well and we have seen that the moose panel is not happy with our subclasses. How do we add the meta-description? Is there some reference text on this? >> In an MSE we see that each enity has a unique ID, so we want to know if/how we can generate this ID from within moose itself. > > The ID is for objects, not for types and they are used basically for reference management. It is the responsibility of the exporter to properly create and manage the ids. So, these IDs are only used in the import process and then discarded? > Does it answer your question? Partially, but it's a good start, thanks :-) -- Johan Fabry [hidden email] - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> That is adding to the meta-model :-P but yes, we are doing that as well and we have seen that the moose panel is not happy with our subclasses. How do we add the meta-description? Is there some reference text on this?
Easy. Look at the class side of existing classes (e.g., FAMIXClass) >> The ID is for objects, not for types and they are used basically for reference management. It is the responsibility of the exporter to properly create and manage the ids. > > So, these IDs are only used in the import process and then discarded? Each moose element has an ID. But you should not care about it. Moose manages this for you. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |