Class: ValidationContext

bo.rules. ValidationContext

Provides the context for custom validation rules.

new ValidationContext(dataStore, brokenRules)

Creates a new validation context object.

Warning: Validation context objects are created in models internally. They are intended only to make publicly available the context for custom validation rules.

Parameters:
Name Type Description
dataStore bo.shared.DataStore

The storage of the property values.

brokenRules bo.rules.BrokenRuleList

The list of the broken rules.

Throws:

Members

<readonly> brokenRules :bo.rules.BrokenRuleList

The list of the broken rules.

Type:

Methods

getValue()

Returns the value of a model 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.