Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: jbvo on March 11, 2009, 07:24:05 pm

Title: How to use qualified collection classes?
Post by: jbvo on March 11, 2009, 07:24:05 pm
Is it possible to define a qualified collection class in a similar way to the ordered collection class? Like with the #TYPE# keyword?

Example: define a dictionary of words, each entry is identified by the word it is defining and points to the explanation of that word. Now in C++ I could represent the dictionary as a map<string,string>, in C# it's even explicitly called a dictionary: System.Collection.Generic.Dictionary<string,string>.

Is there a way to represent a solution like this in EA using qualified relationships?