Sorry and thanks Paolo,
you are right; the two statements do not mean the same. A UML:association is not a relationship among instances, it specifies a relationship among instances.
Until recently, my main source of information about UML was not the specification but Rumbaugh's, Jacobson's, and Booche's Manual (The Unified Modeling Language Reference Manual, Second Edition; "RJB"), and sometimes I have doubts whether the two documents are compatible (v.i.). OK; a manual is a manual, and the specification is the specification.
Dear all,
I am still not sure whether associations between attributes are legal in UML:
Assumptions:
1 - A (binary) association describes a set of tuples (viz. a "relation" as a "class of ordered pairs").
2 - The values (or members) of the tuples refer to instances of a given type.
3 - An instance of the association is called a "link": Another tuple the values of which are typed instances (they do not refer instances).
4 - Attributes in a user model are instances of the metaclass "Attribute" from the user model's metamodel (M2: UML; profiles).
5 - Therefore, if there is an association in the metamodel with entTypes "Attribute" and "Attribute", there may be links among the attributes in the user model.
6 - These links connect model elements - e.g. "SomeClassA.title" and "SomeClassB.title". They do not imply associations among the model's instances - e.g. SomeInstanceA.title "Title #1" and SomeInstanceB.title "Title #2"
Problem:
7 - RJB say that "an association is a relationship among two ore more specified classifiers that describes connections among their instances."
8 - Attributes are instances of a metaclass, and they have instances "out there" (RJB) in the actual system. However, they are no classifiers ("Attribute" is, attributes are not. cf. Superstructure, Annex F).
9 - If 7 and 8 are correct, an association between attributes would be difficult.
Do you agree so far? - As I understand it, JRB's statement is not covered by the definition in superstructure 2.2., but nevertheless: Is (9) really a problem? And, if not: Could any other application than EA deal with links to element features? (By the way: The information is stored in tagged value "styleex", right?)
Sorry, I don't want to bother anybody. In fact, it would greatly facilitate my work if I could use attribute associations.
Michael