Class pvc.data.Complex
Constructor Attributes | Constructor Name and Description |
---|---|
The Complex class represents a value which is structured
with values of several dimensions.
|
Field Attributes | Field Name and Description |
---|---|
Gets the atoms map of the complex value.
|
|
Gets the unique, sequential identifier of the complex value.
|
|
Gets the key of the complex.
|
|
Gets the label of the complex.
|
|
The owner data set of the complex value.
|
|
Gets the value of the complex.
|
Class Detail
pvc.data.Complex
The Complex class represents a value which is structured
with values of several dimensions.
Field Detail
{object}
atoms
Gets the atoms map of the complex value.
The map's keys are dimension names and the values are the corresponding Atom.
{number}
id
Gets the unique, sequential identifier of the complex value.
{string}
key
Gets the key of the complex.
The key is a unique string representation of complex value and is used to index complexes in dictionaries.
For datums, if the complex type has any key dimensions, as per pvc.options.DimensionType#isKey, its key is composed by the keys of the atoms of the key dimensions. Otherwise, their key is the #id.
For data sets, the key is a combination of the Atom#keys of contained #atoms.
{any}
label
Gets the label of the complex.
When a complex contains a single atom, its label is the label of that atom. Otherwise, the "label" of the complex is determined by combining the the Atom#labels of contained #atoms.
{pvc.data.Data}
owner
The owner data set of the complex value.
The owner data set is the root data set that holds the whole extent of datums.
{any}
value
Gets the value of the complex.
When a complex contains a single atom, its value will be the typed value of that atom. Otherwise, the "value" of a complex is its #key.