Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » emf query big doubt
emf query big doubt [message #114828] Sat, 15 March 2008 22:51 Go to next message
Eclipse UserFriend
Originally posted by: jorge.bendahan.gmail.com

I need to be able to query for the model's structure(attributes and
methods) not it's content.
Let me give you an example, the model is actually a class diagram, and it
looks like this.

Class A
- att1 : String
+ m1 (foo int):foo2 String
***************************
Class B
-att1 : int
+m1(foo int): foo2 void
+m2(foo int, fooo double): foo2 String
****************************
Class C
-att1 : double
+m1(foo String): foo2 void
+m2(foo int, fooo double): foo2 String

Relation of type composite between A and C

The objective is getting info for each class in the model, it's methods,
relations, etc.
Re: emf query big doubt [message #114842 is a reply to message #114828] Sat, 15 March 2008 23:35 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jorge,

The Query component has graduated and is part of EMF now.

I'm looking for the question mark in your post and not finding it.
Maybe you want to rephrase your post so that there is an actual question.

Note that many of us, including Christian, if this is intended to be a
specific question about the query component, will be at EclipseCon all
next week, so that might delay answering questions...


Jorge wrote:
> I need to be able to query for the model's structure(attributes and
> methods) not it's content.
> Let me give you an example, the model is actually a class diagram, and
> it looks like this.
>
> Class A
> - att1 : String
> + m1 (foo int):foo2 String
> ***************************
> Class B
> -att1 : int
> +m1(foo int): foo2 void
> +m2(foo int, fooo double): foo2 String
> ****************************
> Class C
> -att1 : double
> +m1(foo String): foo2 void
> +m2(foo int, fooo double): foo2 String
>
> Relation of type composite between A and C
>
> The objective is getting info for each class in the model, it's
> methods, relations, etc.
>
Re: emf query big doubt [message #615891 is a reply to message #114828] Sat, 15 March 2008 23:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31907
Registered: July 2009
Senior Member
Jorge,

The Query component has graduated and is part of EMF now.

I'm looking for the question mark in your post and not finding it.
Maybe you want to rephrase your post so that there is an actual question.

Note that many of us, including Christian, if this is intended to be a
specific question about the query component, will be at EclipseCon all
next week, so that might delay answering questions...


Jorge wrote:
> I need to be able to query for the model's structure(attributes and
> methods) not it's content.
> Let me give you an example, the model is actually a class diagram, and
> it looks like this.
>
> Class A
> - att1 : String
> + m1 (foo int):foo2 String
> ***************************
> Class B
> -att1 : int
> +m1(foo int): foo2 void
> +m2(foo int, fooo double): foo2 String
> ****************************
> Class C
> -att1 : double
> +m1(foo String): foo2 void
> +m2(foo int, fooo double): foo2 String
>
> Relation of type composite between A and C
>
> The objective is getting info for each class in the model, it's
> methods, relations, etc.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:emf query big doubt
Next Topic:Unnecessary resetting of object references
Goto Forum:
  


Current Time: Fri Jun 18 00:54:02 GMT 2021

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top