Interface: ImportChangedSort
@kortexya/reasoninglayer / ImportChangedSort
Interface: ImportChangedSort
Section titled “Interface: ImportChangedSort”Defined in: src/types/ontology-bridge.ts:287
A sort the tenant already held that an import changed, and what changed.
Remarks
Section titled “Remarks”Read from the sort lattice: the sort before the import against the same sort after it. An import removes neither a parent nor a feature; it can replace labels and annotations, so those can be removed. A label whose language the import changed is listed as added in its new language and as removed in its old one.
Properties
Section titled “Properties”alternativeLabelsAdded
Section titled “alternativeLabelsAdded”alternativeLabelsAdded:
SortLabel[]
Defined in: src/types/ontology-bridge.ts:301
Alternative labels added, each with its language.
alternativeLabelsRemoved
Section titled “alternativeLabelsRemoved”alternativeLabelsRemoved:
SortLabel[]
Defined in: src/types/ontology-bridge.ts:303
Alternative labels removed.
annotationsChanged
Section titled “annotationsChanged”annotationsChanged:
string[]
Defined in: src/types/ontology-bridge.ts:309
Annotation keys added, changed or removed, sorted.
descriptionChanged
Section titled “descriptionChanged”descriptionChanged:
boolean
Defined in: src/types/ontology-bridge.ts:311
Whether the import changed the description.
featuresAdded
Section titled “featuresAdded”featuresAdded:
string[]
Defined in: src/types/ontology-bridge.ts:295
Features the sort has after the import and did not have before.
featuresChanged
Section titled “featuresChanged”featuresChanged:
string[]
Defined in: src/types/ontology-bridge.ts:297
Features whose declaration the import replaced (range, required, …).
hiddenLabelsAdded
Section titled “hiddenLabelsAdded”hiddenLabelsAdded:
SortLabel[]
Defined in: src/types/ontology-bridge.ts:305
Hidden labels added.
hiddenLabelsRemoved
Section titled “hiddenLabelsRemoved”hiddenLabelsRemoved:
SortLabel[]
Defined in: src/types/ontology-bridge.ts:307
Hidden labels removed.
id:
string
Defined in: src/types/ontology-bridge.ts:289
The id of the sort, which the import kept.
name:
string
Defined in: src/types/ontology-bridge.ts:291
The sort name the class or type converted to.
nameLanguageChanged
Section titled “nameLanguageChanged”nameLanguageChanged:
boolean
Defined in: src/types/ontology-bridge.ts:315
Whether the import changed the language of the sort’s name.
parentsAdded
Section titled “parentsAdded”parentsAdded:
string[]
Defined in: src/types/ontology-bridge.ts:299
Names of the parents the import added.
scopeNoteChanged
Section titled “scopeNoteChanged”scopeNoteChanged:
boolean
Defined in: src/types/ontology-bridge.ts:313
Whether the import changed the scope note.
statedByImport
Section titled “statedByImport”statedByImport:
boolean
Defined in: src/types/ontology-bridge.ts:293
Whether the import states this sort; false for a held subsort changed only through a sort above it.