Property
pentaho.visual.role.Property
The Property
class represents a visual role of a visualization and defines its capabilities.
The capabilities of the visual role are described by the following attributes:
The valueType
of a property of this type is Mapping
and stores the association between the visual role and the data properties, here named data attributes, of a visualization's current dataset. The mapping holds two pieces of information:
- an optional, fixed
level of measurement
in which the visual role should operate - a list of associations to data properties,
attributes
, each of the typepentaho.visual.role.MappingAttribute
.
AMD Module
require(["pentaho/visual/role/property"], function(Property) { /* code goes here */ });
Extends
Constructor
Name | Description |
---|---|
new Property() | This class was not designed to be constructed directly. |
Classes
Name | Summary |
---|---|
Type | The type class of |
Members
Name | Description |
---|---|
$type : | Gets the type of this instance. |
Methods
Name | Description |
---|---|
toJSON() : UJsonValue | Creates a top-level JSON specification that describes this instance. |
toSpec(keyArgs) : any | Creates a top-level specification that describes this instance. |
toSpecInContext(keyArgs) : any Abstract | Creates a specification that describes this instance. |
Constructor Details
new Property() |
---|
This class was not designed to be constructed directly. Source: javascript/web/pentaho/visual/role/property.js, line 46 |
Members Details
$type: |
---|
Gets the type of this instance. Source: javascript/web/pentaho/type/instance.js, line 128 Overrides: pentaho.type.Property#$type See also: pentaho.type.Instance.type , pentaho.type.Type#instance |
Methods Details
toJSON() : UJsonValue | ||||
---|---|---|---|---|
Creates a top-level JSON specification that describes this instance. Attributes which do not have a JSON-compatible specification are omitted. Specifically, for inline types, attributes with a function value are not supported. This method simply calls Source: javascript/web/pentaho/type/instance.js, line 210 Inherited From: pentaho.type.Instance#toJSON
See also: pentaho.type.Instance#toSpec |
toSpec(keyArgs) : any | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a top-level specification that describes this instance. If an Source: javascript/web/pentaho/type/instance.js, line 172 Inherited From: pentaho.type.Instance#toSpec
|
toSpecInContext(keyArgs) : any Abstract | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Creates a specification that describes this instance. Source: javascript/web/pentaho/type/instance.js, line 190 Inherited From: pentaho.type.Instance#toSpecInContext
See also: pentaho.type.Instance#toSpec |