namespaceinternal
Source: doc-internal.
Internal is a virtual namespace to describe generic functions passed as parameters and called internally in business objects and their components.
Methods
protectedi18nBO([keyRoot]) → bo.i18n#get
Get a message localizer function initialized for the messages of the business objects package, i.e. the namespace is '$bo'.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
keyRoot |
string |
Yes |
The key root of the messages. |
- Returns
-
bo.i18n#get
The message localizer function.
innergetValue(property) → any type
Gets the value of a model property.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
property |
|
The definition of the model property. |
- Returns
-
any type
The current value of the property.
innerinitializeCfg(cfgPath)
Initializes the business objects.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
cfgPath |
string |
|
The relative path of the configuration file (.js or .json). E.g. /config/business-objects.json |
innersetValue(property, value)
Sets the value of a model property.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
property |
|
The definition of the model property. |
|
value |
any type |
|
The new value of the property. |