Subset: RelationalModelProfile
A profile that includes all the metamodel elements whose semantics can be expressed using the classic Relational Model. The Relational Model excludes collections (multivalued slots) as first class entities. Instead, these must be mapped to backreferences
The classic Relational Model excludes inheritance and polymorphism – these must be rolled down to concrete classes or otherwise transformed.
- Title: relational model profile
- Members: 14
Classes
Section titled “Classes”| Class | Description |
|---|---|
| schema_definition | A collection of definitions that make up a schema or a data model. |
| class_definition | an element whose instances are complex objects that may have slot-value assignments |
| enum_definition | an element whose instances must be drawn from a specified set of permissible values |
| unique_key | a collection of slots whose values uniquely identify an instance of a class |
| Slot | Description |
|---|---|
| name | the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class. |
| identifier | True means that the slot is the identifier slot of its class. Such a slot uniquely identifies instances of the class throughout an entire document, meaning there cannot be two (or more) instances of the class (or instances of any of its descendants) with the same value for the identifier slot anywhere in the document. |
| required | true means that the slot must be present in instances of the class definition |
| key | True means that the slot is the “singular unique key” (also known more simply as the “key slot”) of its class. Such a slot uniquely identifies instances of the class within a single container, meaning there cannot be two (or more) instances of the class (or instances of any of its descendants) with the same value for the key slot within the container. |
| range | defines the type of the object of the slot. Given the following slot definition S1: domain: C1 range: C2 the declaration X: S1: Y |
| unique_keys | A collection of named unique keys for this class. Such unique keys may be spread over several slots, which is why they are also called “compound keys”. A unique key uniquely identifies instances of the class within a given container, meaning there cannot be two (or more) instances of the class with the same values for all the slots that make up the unique key. |
| classes | An index to the collection of all class definitions in the schema |
| attributes | Inline definition of slots |
| unique_key_name | name of the unique key |
| unique_key_slots | list of slot names that form a key. The tuple formed from the values of all these slots should be unique. |