class sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData
Application Component: CA-UI5-FL

Constructor

Class for storing information about reverting variants.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData()

Properties

Name Type Default Value Description
change sap.ui.fl.Change Visibility: public

Borrowed Properties

Name Type Default Value Description
content object Visibility: public
type string Visibility: public

Methods Overview

Method Description
sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.extend

Creates a new subclass of class sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData 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.fl.apply._internal.flexObjects.RevertData.extend.

getChange

Gets current value of property change.

sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.getMetadata

Returns a metadata object for class sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.

setChange

Sets a new value for property change.

When called with a value of null or undefined, the default value of the property will be restored.

sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.extend

Creates a new subclass of class sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData 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.fl.apply._internal.flexObjects.RevertData.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getChange

Gets current value of property change.

sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.getMetadata

Returns a metadata object for class sap.ui.fl.apply._internal.flexObjects.CompVariantRevertData.

setChange

Sets a new value for property change.

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sChange sap.ui.fl.Change

New value for property change