DiscreteDomain
pentaho.type.facets.DiscreteDomain
The discrete domain refinement facet limits the domain of a representation type to a discrete set of its instances.
AMD Module
require(["pentaho/type/facets/DiscreteDomain"], function(DiscreteDomain) { /* code goes here */ });
See also: pentaho.type.facets.spec.IDiscreteDomainTypeProto
Extends
Constructor
Name | Description |
---|---|
new DiscreteDomain() | The constructor is not used, as the class is to be used as a mixin. |
Members
Name | Description |
---|---|
domain : | Gets or sets the fixed domain of the type, if any. Otherwise, it is set to |
Methods
Name | Description |
---|---|
_refineDomain() | Refines the current domain with the given domain values. |
Constructor Details
new DiscreteDomain() |
---|
The constructor is not used, as the class is to be used as a mixin. Source: javascript/web/pentaho/type/facets/DiscreteDomain.js, line 28 |
Members Details
domain: |
---|
Gets or sets the fixed domain of the type, if any. Otherwise, it is set to The domain attribute refines a type to a set of discrete values whose type is that of the representation type, If the ancestor refinement type has Setting to a Setting to an empty array, effectively creates an empty refinement type. Source: javascript/web/pentaho/type/facets/DiscreteDomain.js, line 73 See also: pentaho.type.facets.spec.IDiscreteDomainTypeProto#domain |
Methods Details
_refineDomain() |
---|
Refines the current domain with the given domain values. Source: javascript/web/pentaho/type/facets/DiscreteDomain.js, line 95 |