Skip to main content

Generalization Set

A model element that groups connected generalizations that share a common general classifier, optionally constraining them as disjoint and/or complete. For example, the disjoint and complete generalization set of Person into Child and Adult.

PropertyTypeDescription
type"GeneralizationSet"Discriminator.
isDisjointboolean or nullWhether the specific classifiers have disjoint extensions (no shared instances).
isCompleteboolean or nullWhether the specific classifiers completely cover the general classifier's extension.
generalizationsid[]The generalizations grouped by the set.
categorizerid or nullThe high-order class whose instances are the specific classes in the set. Only valid for sets involving exclusively classes.

GeneralizationSet also carries the properties common to all model elements.

The example below groups the two generalizations of Person into Child and Adult as a {disjoint, complete} set — the UML constraint shown next to the shared generalization arrows.

{
"type": "GeneralizationSet",
"id": "genset_1",
"name": { "en": "by age" },
"isDisjoint": true,
"isComplete": true,
"generalizations": ["gen_child", "gen_adult"],
"categorizer": null,
"customProperties": null,
"created": "2024-09-04",
"modified": null,
"alternativeNames": [],
"description": null,
"editorialNotes": [],
"creators": [],
"contributors": []
}