Skip to main content



      Home
Home » Modeling » ATL » many attributes Source en one target attribute
many attributes Source en one target attribute [message #1060526] Sun, 26 May 2013 03:44 Go to next message
Eclipse UserFriend
Hi every body,
I want to know how can I assign a set of source attributes from different classes of metamodel in a single target attribute of type text.

I need an example.


thank you.
Samar
Re: many attributes Source en one target attribute [message #1060634 is a reply to message #1060526] Mon, 27 May 2013 08:18 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I guess you want to concatenate the value of several attributes into a single String value (to set another attribute).
To this intent, you can use the different available operations on String.
Note that Integer, Real and Boolean values can be converted to String by using the toString() operation.
Re: many attributes Source en one target attribute [message #1060637 is a reply to message #1060526] Mon, 27 May 2013 08:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi

1) Do not SPAM multiple newsgroups with the saem question

2) Ask a clear question.

By asking on so many newsgroups without identifying the M2M language, no
one can answer sensibly.

Regards

Ed Willink

On 26/05/2013 08:44, samar sousou wrote:
> Hi every body,
> I want to know how can I assign a set of source attributes from
> different classes of metamodel in a single target attribute of type text.
>
> I need an example.
>
>
> thank you.
> Samar
Re: many attributes Source en one target attribute [message #1060681 is a reply to message #1060637] Mon, 27 May 2013 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Mr Hugo,

but my goal is to assign to a text field in my meta-model target a piece of code (tag) XMI.

but I don't know how!

thank you,

Samar.
Re: many attributes Source en one target attribute [message #1060742 is a reply to message #1060681] Tue, 28 May 2013 06:16 Go to previous message
Eclipse UserFriend
I need your help,

Samar
Previous Topic:Comparing Large Numbers Fails with ATL 3.2.1
Next Topic:call a text file
Goto Forum:
  


Current Time: Wed Jul 23 07:41:05 EDT 2025

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

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

Back to the top