PrimaryKey
CDIFDataDescription::Classes::PrimaryKey
Definition
Documentation
Original
Reference
cdi:PrimaryKey
Definition
Definition
Role of a set of data structure components for content linkage purposes
Explanatory notes
Equivalent to primary key in the relational model. A primary key essentially indicates which data structure components correspond to key members. It can also be used in conjunction with foreign key to link data structures and their related datasets.
CDIF
Definition
Primary key of the dataset: a cdif:Key whose cdif:isComposedOf is an ordered list of ComponentPosition entries, each indexing the InstanceVariable at that position in the key.
Diagram
Inheritance
No generalization relationships.
Attributes
| Name | Type | Multiplicity | Description |
|---|---|---|---|
| identifier | XsdAnyUri | [0..1] | DocumentationOriginalReferenceschema:identifier DefinitionThe identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details. ScopeDomain: Thing (https://schema.org/Thing). Range: PropertyValue (https://schema.org/PropertyValue), Text (https://schema.org/Text), URL (https://schema.org/URL). CDIFDefinitionIdentifier for this enumerated (categorical) domain. Scope@id. |
Associations
| Role | Target | Multiplicity | Kind |
|---|---|---|---|
| hasPrimaryKey | ← Dataset | [0..1] | composition |
| isComposedOf | → ComponentPosition | [1..*] | composition |