Interface: VocabularyTerm
Defined in: src/vocabulary/types.ts:53
A single vocabulary term with its synonyms and selector information.
Remarks​
Represents one named concept in a SAP business domain. The name is the
canonical identifier; synonyms are alternative human-readable names that
also resolve to this term. The selector (if present) enables direct
UI5 control discovery.
Example​
const term: VocabularyTerm = {
name: 'supplier',
synonyms: ['vendor', 'vendorId', 'supplierId'],
domain: 'procurement',
sapField: 'LIFNR',
selector: { controlType: 'sap.m.Input', properties: { labelFor: 'Supplier' } },
};
Properties​
domain​
readonlydomain:SAPDomain
Defined in: src/vocabulary/types.ts:59
The SAP domain this term belongs to.
name​
readonlyname:string
Defined in: src/vocabulary/types.ts:55
Canonical term name.
sapField?​
readonlyoptionalsapField:string
Defined in: src/vocabulary/types.ts:61
The underlying SAP ABAP field name (e.g. 'LIFNR').
selector?​
readonlyoptionalselector:UI5Selector
Defined in: src/vocabulary/types.ts:63
UI5 selector for direct control discovery.
synonyms​
readonlysynonyms: readonlystring[]
Defined in: src/vocabulary/types.ts:57
Alternative names that also resolve to this term.