Abstract Class sap.ui.model.MetaModelModule: sap/ui/model/MetaModel

extends Model
known direct subclasses: ODataMetaModel, ODataMetaModel

Model implementation for meta models

Constructor Summary
new sap.ui.model.MetaModel()Constructor for a new MetaModel.
Method Summary
sap.ui.model.MetaModel.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.MetaModel with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.model.MetaModel.getMetadata()Returns a metadata object for class sap.ui.model.MetaModel.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.model.MetaModel()
Constructor for a new MetaModel.
Method Detail
sap.ui.model.MetaModel.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.model.MetaModel with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.model.Model.extend.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.ui.model.MetaModel.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.model.MetaModel.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class