Thank you Geert and Thomas.
I guess there 2 threads intertwined here: a usability issue and a modelling query.
Hopefully Sparx Systems can make some enhancements to make connectors a first class citizen, specially connectors such as AssociationClass. In my opinion, this long overdue. But I don't expect anything.
with "a set of objects" they mean like in the definition of a class is a set of instances.
So the associationclass is the Job, which means there can be a set of objects of type Job that have these common features, constraints and semantics.
- MyJob : Job
- YourJob : Job
- ...
Geert
I this example, I am expecting a complex set containing instances of the 3 classes involved:
- Your Job : Job | You : Person | Your Company : Company
- My Job : Job | Me : Person | My Company : Company
- ...
Is this is what is meant with "a set of objects" then the AssociationClass does exactly what I want to achieve and brings me back to the usability issue.
Ultimately, I prefer to model because it gives me a cleaner model.
Person ------------- Company
|
Job
Than
Person ------ Job ----- Company
Both represent the same thing, but the usability issue almost enforces the 2nd option because there is no easy way to transition to the 1st option.