Class sap.ui.core.message.MessageModule: sap/ui/core/message/Message

extends Object

Constructor Summary
new sap.ui.core.message.Message(mParameters?)Constructor for a new Message.
Method Summary
sap.ui.core.message.Message.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.message.Message with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.core.message.Message.getMetadata()Returns a metadata object for class sap.ui.core.message.Message.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.message.Message(mParameters?)
Constructor for a new Message.
Parameters:
{object}mParameters? (optional) a map which contains the following parameter properties:
{string}mParameters.id? The message id: will be defaulted if no id is set
{string}mParameters.message? The message text
{string}mParameters.description? The message description
{sap.ui.core.MessageType}mParameters.type? The message type
{string}mParameters.code? The message code
{sap.ui.core.message.Messageprocessor}mParameters.processor?
{string}mParameters.target? The message target: The syntax MessageProcessor dependent. Read the documentation of the respective MessageProcessor.
{boolean}mParameters.persistent? Sets message persistent: If persistent is set true the message lifecycle controlled by Application
Method Detail
sap.ui.core.message.Message.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.core.message.Message 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.base.Object.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.core.message.Message.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.message.Message.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class