The type of the model data.
The type of the context data or undefined
if there's no context.
Constructor for a new TypedModel
with the given data.
The data with which the model will be initialized.
Constructor for a new TypedModel
based on an existing model
and context
.
An existing JSONModel
.
Optional
context: Exclude<C, undefined> extends neverAn existing Context
.
Optional
Readonly
contextThe context if exists.
Readonly
modelThe underlying JSONModel
.
Creates a new aggregation binding info object.
The path to the array property.
The factory function which returns a new UI5 Control with the given id
.
Optional
opts: Omit<AggregationBindingInfo, "path" | "template" | "factory">The binding options.
Optional
Binds this model to the given object with the given name.
The UI5 object to bind to.
Optional
name: stringOptional
Optional
name: stringThe name of the model which must be a non-empty string or undefined
.
Optional
Creates a new property binding info object.
The path to the property.
Optional
opts: Omit<PropertyBindingInfo, "path" | "value" | "parts" | "formatter">The binding options.
Optional
Creates a new TypedModel
with context based on the given path.
The property path for the context.
Returns the value for the property with the given path.
The path to the property.
Transforms the given path in dot-notation into a path in slash-notation.
The path in dot-notation.
Refreshes the model.
This will check all bindings for updated data and update the controls if data has been changed.
Optional
force: booleanUpdate controls even if data has not been changed.
Optional
Sets the value for the property with the given path.
The path to the property.
The new value to be set for this property.
Optional
asyncUpdate: booleanWhether to update other bindings dependent on this property asynchronously.
Optional
Sets the data of the model.
The data to set.
Optional
merge: booleanDetermines whether to merge the data instead of replacing it.
Optional
Generated using TypeDoc
A strictly typed wrapper of a UI5 JSON model.