Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] : <unnamed> : is this a bad thing?
[ATL] : <unnamed> : is this a bad thing? [message #84567] Mon, 16 June 2008 09:56 Go to next message
Eclipse UserFriend
Originally posted by: r.c.ladan.tue.nl

Hi,

I think I have some uninitialized model elements somehow,
because I get these values in an error message (ATL 2.0.0RC,
20080610-1117) :

SEVERE: args = [TransientLinkSet {TransientLink
{rule = 'copy_Edge', sourceElements = {se = IN!<unnamed>},
targetElements = {se1 = OUT!<unnamed>},
...
}]

I assume that <unnamed> output elements are ok?
Output elements can also be <notnamedyet>, but
only for input elements which are properly initialized?

Rene
Re: [ATL] : <unnamed> : is this a bad thing? [message #84571 is a reply to message #84567] Mon, 16 June 2008 12:45 Go to previous message
Eclipse UserFriend
Originally posted by: user.domain.invalid

HI Rene,

I have seen this issue in detail in my projects. The word ,<unnamed> is
used for the objects which havebeen initialized but are not given any
name by the UML utility. This is not the normal case, as u know that UML
gives default names to objects on creation.

But, for particular softwares like Papyrus, they haven't implemented
some of the UML concepts in their tool. Like when working on composite
structure diagrams, the connectors are defined in papyrus but connector
ends are not(whereas they r defined in other tools like MagicDraw). So
these objects are written as unnamed. but U can still use the features
of these objects. like u can get the connected port/component through
these objects using getRole() function. See a Helper of mine,

-- Takes the ConnectorEnd and returns its parent Connector.
helper context UML2!ConnectorEnd def : getCntr (cntrEnd :
UML2!ConnectorEnd) : UML2!Connector =
UML2!Connector.allInstances()->select(p |
p.getEnds()->includes(cntrEnd)).first();


Here, while being on the connector end, which has got no name, i go to
its connector.


Hope it works for U,

see U,
-aamir-





Rene Ladan wrote:
> Hi,
>
> I think I have some uninitialized model elements somehow,
> because I get these values in an error message (ATL 2.0.0RC,
> 20080610-1117) :
>
> SEVERE: args = [TransientLinkSet {TransientLink
> {rule = 'copy_Edge', sourceElements = {se = IN!<unnamed>},
> targetElements = {se1 = OUT!<unnamed>},
> ...
> }]
>
> I assume that <unnamed> output elements are ok?
> Output elements can also be <notnamedyet>, but
> only for input elements which are properly initialized?
>
> Rene
Previous Topic:Does transformation rules order matter?
Next Topic:Enumeration Class
Goto Forum:
  


Current Time: Tue Apr 23 11:29:10 GMT 2024

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

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

Back to the top