Skip to content

Interface: ImportChangedSort

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ImportChangedSort

Defined in: src/types/ontology-bridge.ts:287

A sort the tenant already held that an import changed, and what changed.

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.

alternativeLabelsAdded: SortLabel[]

Defined in: src/types/ontology-bridge.ts:301

Alternative labels added, each with its language.


alternativeLabelsRemoved: SortLabel[]

Defined in: src/types/ontology-bridge.ts:303

Alternative labels removed.


annotationsChanged: string[]

Defined in: src/types/ontology-bridge.ts:309

Annotation keys added, changed or removed, sorted.


descriptionChanged: boolean

Defined in: src/types/ontology-bridge.ts:311

Whether the import changed the description.


featuresAdded: string[]

Defined in: src/types/ontology-bridge.ts:295

Features the sort has after the import and did not have before.


featuresChanged: string[]

Defined in: src/types/ontology-bridge.ts:297

Features whose declaration the import replaced (range, required, …).


hiddenLabelsAdded: SortLabel[]

Defined in: src/types/ontology-bridge.ts:305

Hidden labels added.


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: boolean

Defined in: src/types/ontology-bridge.ts:315

Whether the import changed the language of the sort’s name.


parentsAdded: string[]

Defined in: src/types/ontology-bridge.ts:299

Names of the parents the import added.


scopeNoteChanged: boolean

Defined in: src/types/ontology-bridge.ts:313

Whether the import changed the scope note.


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.