IFieldsConstraints
pentaho.visual.role. IFieldsConstraints
The IFieldsConstraints
interface exposes metadata information about the fields
of visual roles' mappings.
This interface extends IFieldsMetadata
and adds additional properties that allow specifying field count constraints.
Objects of this interface are part of visual role properties and are exposed in the Property.Type#fields
property.
Source: doc-js/pentaho/visual/role/IFieldsConstraints.jsdoc, line 17
See also: pentaho.visual.role.AbstractMapping#fields
Extends
Members
Name | Description |
---|---|
countMax : | Gets or sets the maximum number of |
countMin : | Gets or sets the minimum number of |
isRequired : | Gets or sets a value that indicates if at least one |
Methods
Name | Description |
---|---|
countRangeOn(model) : pentaho.IRange.<<code>number > | Evaluates the field count range of a visual role property on a given model. |
Members Details
countMax: |
---|
Gets or sets the maximum number of For more information on this property see Source: doc-js/pentaho/visual/role/IFieldsConstraints.jsdoc, line 60 |
countMin: |
---|
Gets or sets the minimum number of For more information on this property see Source: doc-js/pentaho/visual/role/IFieldsConstraints.jsdoc, line 48 |
isRequired: |
---|
Gets or sets a value that indicates if at least one For more information on this property see Source: doc-js/pentaho/visual/role/IFieldsConstraints.jsdoc, line 36 |
Methods Details
countRangeOn(model) : pentaho.IRange.<<code>number > | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Evaluates the field count range of a visual role property on a given model. The count range constraints the valid number of elements of the Source: doc-js/pentaho/visual/role/IFieldsMetadata.jsdoc, line 31 Inherited From: pentaho.visual.role.IFieldsMetadata#countRangeOn
See also: pentaho.type.Property.Type#countRangeOn |