Namespace: internal

internal

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
keyRoot string <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
property bo.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
cfgPath string

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
property bo.shared.PropertyInfo

The definition of the model property.

value *

The new value of the property.

If you find bugs or have feature requests, please let us know.

JavaScript business objects ♦ Copyright © 2014-2016 Logikum, Ltd.
Documentation generated by JSDoc 3.2.2 on 2015. December 31. using the DocStrap template.