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] Fri, 22 January 2010 19:46 Go to next message
Missing name Missing name is currently offline Missing name Missing name
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 04:24 Go to previous message
Guillaume Doux is currently offline Guillaume Doux
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 Aug 22 00:11:32 EDT 2014

Powered by FUDForum. Page generated in 0.01487 seconds