...
Drawio | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Drawio | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Drawio | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Diagram 1: General pattern for contextualized roles.
...
The role (https://www.omg.org/spec/Commons/PartiesAndSituations/Role) is modeled as a class and can be specialized with sub-classes some of which are shown in the following diagram 2.
Diagram 2: The role class and its specialized sub-classes.
...
The context is a "situation" or frame of reference in which something applies, exists, happens, or is used and that helps to illustrate or explain it. As with roles, contexts can be further specified with sub-classes as shown in Diagram 3.
Diagram 3: Context and its sub-classes.
...