Property

Method

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 Optional Description

dataStore

bo.shared.DataStore

 

The storage of the property values.

brokenRules

bo.rules.BrokenRuleList

 

The list of the broken rules.

Throws

Argument error: The data store must be a DataStore object.

Argument error: The broken rules must be a BrokenRuleList object.

Property

read-only
brokenRules  bo.rules.BrokenRuleList

The list of the broken rules.

Method

read-only
getValue()

Returns the value of a model property.