namespace sap.ui.model

Control sample: sap.ui.model
Visiblity: public
Available since: N/A
Module: sap/ui/model/Model
Application Component: CA-UI5-COR

The SAPUI5 Data Binding API.

The default binding mode for model implementations (if not implemented otherwise) is two-way and the supported binding modes by the model are one-way, two-way and one-time. The default binding mode can be changed by the application for each model instance. A model implementation should specify its supported binding modes and set the default binding mode accordingly (e.g. if the model supports only one-way binding the default binding mode should also be set to one-way).

The default size limit for models is 100. The size limit determines the number of entries used for the list bindings.


Nodes Overview

Node Description
sap/ui/model/FilterProcessor

Helper class for processing of filter objects

sap.ui.model.analytics

Analytical Adapter for ODataModels

sap.ui.model.Binding

The Binding is the object, which holds the necessary information for a data binding, like the binding path and the binding context, and acts like an interface to the model for the control, so it is the event provider for changes in the data model and provides getters for accessing properties or lists.

sap.ui.model.BindingMode

Binding type definitions.

sap.ui.model.ChangeReason

Change Reason for Model/ListBinding/TreeBinding.

sap.ui.model.ClientContextBinding

The ContextBinding is a specific binding for setting a context for the model.

sap.ui.model.ClientListBinding

List binding implementation for client models.

sap.ui.model.ClientModel

Model implementation for Client models

sap.ui.model.ClientPropertyBinding

Property binding implementation for client models.

sap.ui.model.ClientTreeBinding

Tree binding implementation for client models.

sap.ui.model.ClientTreeBindingAdapter
sap.ui.model.CompositeBinding

Combines multiple property bindings (called 'parts') into a single one.

sap.ui.model.CompositeDataState

Holds the status data of a composite binding.

sap.ui.model.CompositeType

This is an abstract base class for composite types.

sap.ui.model.Context

The Context is a pointer to an object in the model data.

sap.ui.model.ContextBinding

The ContextBinding is a specific binding for a setting context for the model

sap.ui.model.DataState

Holds the status data of a binding.

sap.ui.model.Filter

Filter for the list binding.

sap.ui.model.FilterOperator

Operators for the Filter.

sap.ui.model.FilterType

Enumeration of the possible filter types.

sap.ui.model.FormatException

Instances of this exception are thrown when converting a model value to its representation on the UI fails.

sap.ui.model.json

JSON-based DataBinding

sap.ui.model.ListBinding

ListBinding is a specific binding for lists in the model, which can be used to populate Tables or ItemLists.

sap.ui.model.message

Message DataBinding

sap.ui.model.MetaModel

Model implementation for meta models

sap.ui.model.Model

This is an abstract base class for model objects.

sap.ui.model.odata

OData-based DataBinding Utility Class

sap.ui.model.ParseException

Instances of this exception are thrown when converting a string value to its model representation fails.

sap.ui.model.PropertyBinding

The PropertyBinding is used to access single data values in the data model.

sap.ui.model.resource

ResourceBundle-based DataBinding

sap.ui.model.SelectionModel

This artefact is used by the table controls for handling selections.

sap.ui.model.SimpleType

This is an abstract base class for simple types.

sap.ui.model.Sorter

Sorter for list bindings.

sap.ui.model.StaticBinding

The StaticBinding allows to define static values within a sap.ui.model.CompositeBinding.

sap.ui.model.TreeAutoExpandMode

Different modes for setting the auto expand mode on tree or analytical bindings.

sap.ui.model.TreeBinding

The TreeBinding is a specific binding for trees in the model, which can be used to populate Trees.

sap.ui.model.TreeBindingAdapter
sap.ui.model.TreeBindingCompatibilityAdapter
sap.ui.model.TreeBindingUtils
sap.ui.model.Type

This is an abstract base class for type objects.

sap.ui.model.ValidateException

Instances of this exception are thrown when constraints of a type are violated.

sap.ui.model.xml

XML-based DataBinding

sap.ui.model.base
sap.ui.model.type

Methods Overview

Method Description