- In a class diagram, the value of one of the attributes of a class is a (typed) tuple. In Python, I would annotate it as
Tuple[A,B]
. What is a proper UML type annotation? - In a class diagram, the value of one of the attributes of a class is essentially an associative array. In Python, I would annotate this as
Sequence[Tuple[A,B]]
. What is a proper UML type annotation? - In a class diagram, the value of one of the attributes of a class is a (typed) dictionary. In Python, I would annotate this as
Dict[A,B]
. What is a proper UML type annotation?
To be clear: I do not wish to add class boxes for Tuple
, Sequence
, or Dict
to the diagram.