[ATL] dealing with data type [message #575151] |
Fri, 22 January 2010 19:46  |
Eclipse User |
|
|
|
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!
|
|
|
|
Powered by
FUDForum. Page generated in 1.26515 seconds