Internal is a virtual namespace to describe generic functions passed as parameters and called internally in business objects and their components.
Methods
-
<protected> i18nBO(keyRoot) → {bo.i18n#get}
-
Get a message localizer function initialized for the messages of the business objects package, i.e. the namespace is '$bo'.
Parameters:
Name Type Argument Description keyRootstring <optional>
The key root of the messages.
Returns:
The message localizer function.
- Type
- bo.i18n#get
-
<inner> getValue(property) → {*}
-
Gets the value of a model property.
Parameters:
Name Type Description propertybo.shared.PropertyInfo The definition of the model property.
Returns:
The current value of the property.
- Type
- *
-
<inner> initializeCfg(cfgPath)
-
Initializes the business objects.
Parameters:
Name Type Description cfgPathstring The relative path of the configuration file (.js or .json). E.g. /config/business-objects.json
-
<inner> setValue(property, value)
-
Sets the value of a model property.
Parameters:
Name Type Description propertybo.shared.PropertyInfo The definition of the model property.
value* The new value of the property.