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 |
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 |
|
state | string | Visibility: public |
Method | Description |
---|---|
sap.ui.fl.Change.extend |
Creates a new subclass of class sap.ui.fl.Change with name
|
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 |
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 When called with a value of |
setState |
Sets a new value for property state. When called with a value of |
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 |
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
.
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 |
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 |