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'.

Parameter

Name Type Optional Description

keyRoot

string

Yes

The key root of the messages.

Returns

bo.i18n#get The message localizer function.

inner
getValue(property) → any type

Gets the value of a model property.

Parameter

Name Type Optional Description

property

bo.shared.PropertyInfo

 

The definition of the model property.

Returns

any type The current value of the property.

inner
initializeCfg(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

inner
setValue(property, value)

Sets the value of a model property.

Parameters

Name Type Optional Description

property

bo.shared.PropertyInfo

 

The definition of the model property.

value

any type

 

The new value of the property.