Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AM3 » [ATL] dealing with data type
[ATL] dealing with data type [message #509570] Sat, 23 January 2010 00:46 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 9
Registered: November 2009
Junior Member
Hi folks!

I need to manipulate an attribute from a class defined in the entry metamodel - obtained from a XML Schema - of my ATL transformation. This attribute is of the UnsignedLong data type. How can I do to specify the data type of this attribute in my ATL model?
Example:
If my desired attribute is of a data type recognized by the ATL, like string, I can write:
let var: String =
MMa!Class1.allInstances()->first().attribute
in...

but once the data type of the attribute is Unsigned Long:
let var: ?data type? =
MMa!Class1.allInstances()->first().attribute
in...


Thank you in advance!
Re: [ATL] dealing with data type [message #509734 is a reply to message #509570] Mon, 25 January 2010 09:24 Go to previous message
Guillaume Doux is currently offline Guillaume DouxFriend
Messages: 56
Registered: July 2009
Member
Hello,

Your question is related to ATL and you are posting in the AM3 section.
Please ask your question on the ATL section of the Eclipse forum.

Best regards,

Guillaume.
Previous Topic:Problems extracting XML file from XML model.
Next Topic:[ATL] dealing with data type
Goto Forum:
  


Current Time: Fri Mar 29 13:23:23 GMT 2024

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

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

Back to the top