1
General Board / Re: Language Datatypes, Common Type, CONVERT_TYPE
« on: June 08, 2006, 09:25:44 pm »
Eventually, when the forum posted nothing, I filed a support request and here's what Simon replied (@ Sept, 9 2005)
cheers,
-olaf
Quote
You are correct that the common type is intended to correspond to a generic UML datatype. However, as you correctly note, there is no validation of these types, and some of the ones included in EA don't seem to fit that description. Currently, these common types are only accessible to users through the datatypes dialog, and only used in the CONVERT_TYPE macro.No further comment since... maybe you could persue?
With the language set to <none>, it is true that you don't get any primitive types listed at all. However, you are able to enter the types in free text. The CONVERT_TYPE macro only becomes useful when you are transforming your model to two different languages. In this situation, it allows you to use correct datatypes for both languages. Because language datatypes do not have a 1 to 1 mapping with common types, you may also need to modify the built in datatypes. Either by modifying the common type, or introducing a duplicate type, and giving it a different common type.
We recognise that there are some problems to the way types are currently handled in EA, and have plans to improve many of them.
cheers,
-olaf