emf query big doubt [message #114828] |
Sat, 15 March 2008 22:51 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Ed Merks Messages: 33140 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/
|
|
|
Powered by
FUDForum. Page generated in 0.02467 seconds