Taxonomy
Type CDM 7.2.0Defines the taxonomy of an object by combining a taxonomy source (i.e. the rules to classify the object) and a value (i.e. the output of those rules on the object).
Attributes
All 3 declared on Taxonomy. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| source | TaxonomySourceEnum | 0..1 | The source of the taxonomy that defines the rules for classifying the object. The taxonomy source is taken from a enumerated list of taxonomy names. Optional as the taxonomy source may not be provided. |
| value | TaxonomyValue | 0..1 | The value according to that taxonomy. Optional as it may not be possible to classify the object in that taxonomy. |
| calculated | boolean | 0..1 | Specifies whether the taxonomy has been derived from the model features using a CDM qualification function that determines the product type based on the model features. |
Conditions
Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.
if value -> classification count > 1
then value -> classification -> ordinal count = value -> classification count if value -> classification -> ordinal exists
then value -> classification -> ordinal count
= value -> classification -> ordinal distinct count if value -> classification count > 1
then value -> classification -> ordinal count
= value -> classification -> ordinal max Referenced by
1 type holds a Taxonomy as an attribute.
Functions
Model functions that produce or consume this type. These are the CDM's own behaviour — the logic a correct implementation has to match.
| Function | Role | Description |
|---|---|---|
| MapCommodityClassificationToTaxonomy | returns | — |
Open Taxonomy in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.