class sap.ui.fl.Change

Control sample: sap.ui.fl.Change
Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/fl/Change
Application Component: CA-UI5-FL

Constructor

Flexibility change class. Stores change content and related information.

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.Change(oFile)
Param Type Default Value Description
oFile object

File content and admin data


Properties

Name Type Default Value Description
applyState int

Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is Change.applyState.INITIAL.

Visibility: public
state string Visibility: public

Methods Overview

Method Description
sap.ui.fl.Change.extend

Creates a new subclass of class sap.ui.fl.Change 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.ManagedObject.extend.

getApplyState

Gets current value of property applyState.

Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is Change.applyState.INITIAL.

sap.ui.fl.Change.getMetadata

Returns a metadata object for class sap.ui.fl.Change.

getState

Gets current value of property state.

setApplyState

Sets a new value for property applyState.

Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is Change.applyState.INITIAL.

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

setState

Sets a new value for property state.

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

sap.ui.fl.Change.extend

Creates a new subclass of class sap.ui.fl.Change 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.ManagedObject.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

getApplyState

Gets current value of property applyState.

Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is Change.applyState.INITIAL.

sap.ui.fl.Change.getMetadata

Returns a metadata object for class sap.ui.fl.Change.

getState

Gets current value of property state.

setApplyState

Sets a new value for property applyState.

Describes the current state of the change regarding the application and reversion of changes. To change or retrieve the state, use the getters and setters defined in this class. Initially the state is Change.applyState.INITIAL.

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

Param Type DefaultValue Description
iApplyState int

New value for property applyState

setState

Sets a new value for property state.

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

Param Type DefaultValue Description
sState string

New value for property state