Class sap.uxap.ModelMappingModule: sap/uxap/ModelMapping
Define the entity that will be passed to the ObjectPageLayout.
Since: 1.26.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- externalModelName : string
- internalModelName : string (default: Model)
- externalPath : string
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | ID for the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
externalModelName
. Determines the the external model name.
{string} | Value of property externalModelName |
externalPath
. Determines the the external path.
{string} | Value of property externalPath |
internalModelName
. Determines the the internal model name.
Default value is Model
.
{string} | Value of property internalModelName |
externalModelName
. Determines the the external model name.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sExternalModelName | New value for property externalModelName |
{sap.uxap.ModelMapping} | Reference to this in order to allow method chaining |
externalPath
. Determines the the external path.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sExternalPath | New value for property externalPath |
{sap.uxap.ModelMapping} | Reference to this in order to allow method chaining |
internalModelName
. Determines the the internal model name.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Model
.
{string} | sInternalModelName | New value for property internalModelName |
{sap.uxap.ModelMapping} | Reference to this in order to allow method chaining |