Closed seidewitz closed 2 years ago
Wording suggestions to indicate sufficiency (any->every, see underscores):
union
... the declared type classifies _every_thing that is classified by any of the listed types.intersection
... the declared type classifies _every_thing that is classified by all of the listed types.differencing
... the declared type classifies _every_thing that is classified by the first listed type but not classified by any of the remaining types. Wording suggestions to indicate sufficiency
Sure.
This pull request adds textual notation to KerML for the new
Unioning
,Intersecting
andDifferencing
relationships. The notation consists of new clauses that can be used in any kind of type declaration (including classifiers, features, connectors, etc.), included in the set of clauses that appear after the specialization part of the declaration.union
A, B, ...
– Specifies that the declared type hasownedUnioning
relationships with each of the typesA, B, ...
, meaning that the declared type classifies everything that is classified by any of the listed types.intersection
A, B, ...
– Specifies that the declared type hasownedIntersecting
relationships with each of the typesA, B, ...
, meaning that the declared type classifies everything that is classified by all of the listed types.differencing
A, B, ...
– Specifies that the declared type hasownedDifferencing
relationships with each of the typesA, B, ...
. If this is the firstdifferencing
clause in the declaration, it means that the declared type classifies everyhing that is classified by the first listed type but not classified by any of the remaining types. Any additionaldifferencing
clauses in a declaration mean that the declared type does not classify anything classified by any of the listed types.For example:
Note that multiple relationships of each kind can be specified using multiple clauses in a single declaration. But it is not allowable for a type to have just one of any of these kind of relationships over all.