Hello, folks.
EA provides a number of primitive data types for Class attributes. I find myself needing to assign a String data type to an attribute, especially when I want to reproduce an existing model in EA. For example, ISO/IEC 11179-3, Figure 5, defines a "Contact" class with three attributes each of type "String".
What I've done in the past is to create a custom String class (i.e., a custom data type) within EA and used that as the basis of applying a String data type to some attribute. However, I do not provide the semantics for the String datatype, since I want it to be agnostic to a programming language. As I view it, String semantics are either Java-like or C-like. With the former, a String is a composite type and includes a count (i.e., String size). In the latter, String is a primitive type and terminates with a null character.
If I create a String class for the purpose expressed, is it best to create a String class with its language assignment to "<none>"? If so, are there an unintended consequences when executing model-driven transformations?
Regards,
Anthony