Utilities for condition conversion
Node | Description |
---|
Method | Description |
---|---|
sap.ui.mdc.condition.ConditionConverter.toString |
Converts a condition into a unified String The condition is not checked for validity. The used values must fit to the used basic type. Note: Number types are not converted, the number conversion is done by the Flex handling. |
sap.ui.mdc.condition.ConditionConverter.toType |
converts a stringified condition into a type based condition The condition is not checked for validity. The used values must fit to the used basic type. Note: Number types are not converted, the number conversion is done by the Flex handling. |
Converts a condition into a unified String
The condition is not checked for validity. The used values must fit to the used basic type.
Note: Number types are not converted, the number conversion is done by the Flex handling.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCondition | sap.ui.mdc.condition.ConditionObject |
Condition |
|
oTypeConfig | sap.ui.mdc.TypeConfig |
given dataType mapping configuration |
|
oTypeUtil | sap.ui.mdc.util.TypeUtil |
delegate dependent |
converts a stringified condition into a type based condition
The condition is not checked for validity. The used values must fit to the used basic type.
Note: Number types are not converted, the number conversion is done by the Flex handling.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCondition | sap.ui.mdc.condition.ConditionObject |
stringified condition |
|
oTypeConfig | sap.ui.mdc.TypeConfig |
Data type of the condition |
|
oTypeUtil | sap.ui.mdc.util.TypeUtil |
delegate dependent |