|
|
|
Re: Can my idea work? [message #1028385 is a reply to message #1028380] |
Thu, 28 March 2013 07:35 |
|
what do you mean with "I cannot find their attributes"??
They appear in the xmi you sent, and if you write an ATL rule for sure that you can access them, like
node:UML!OpaqueAction
...
node.name
Another idea: you can match for its parent type (I guess "Node") .. and then use things like oclIsTypeOf
Do you really need the id? because I think it is an internal representation of the xmi, so, if you work with the UML you dont care...
hope it helps!
|
|
|
|
|
|
|
Re: Can my idea work? [message #1028440 is a reply to message #1028433] |
Thu, 28 March 2013 08:58 |
|
what about something like
rule rule1 {
from
s: UML:InitialNode
to
t1: MMOUT:NewTypeYouNeed (
name <- s.name,
....
)
}
by this way the target objet type is "MMOUT:NewTypeYouNeed"
I think it is better to continue sharing ideas an questions in the forum, more people with different levels of expertise, more availability, better validation of ideas, etc...
|
|
|
|
Re: Can my idea work? [message #1028472 is a reply to message #1028466] |
Thu, 28 March 2013 09:46 |
|
Sorry .. I can't help, I never see the xmi... and I think you shouldnt if you want to follow Model-driven approaches ... unless you are building a tool where you have to write the uml file ... but even in this case, you have APIs to avoid the task of understand the xmi represnentation ...
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05416 seconds