Skip to content
  • There are no suggestions because the search field is empty.

Create a Hierarchical Link

A Model Object of type Hierarchical Link can be created in the Silver Layer.

What is a Hierarchical Link

In a Data Vault model, a Hierarchical Link is a many-to-many recursive relationship structure, housing a unique list of associations across two or more business keys at different levels of data. It represents hierarchies inside the same Hub.

Use case example

You can find a complete use-case example in the article Use parent-child relationships.

Creation steps

There are two possibilities for creating a Hierarchical Link  Model Object:

      • Add a Relationship to the first corresponding Hub (here, the Hub Employee)
      • Edit the Foreign Key Terms: set them as Business Key
      • Add a second relationship to the same Hub (here, the Hub Employee)
      • Edit the Role names (See Have several Relationships to the same Model Object) with:
        • First Relationship with the Hub: Employee
        • Second Relationship with the same Hub: Manager
      • Map the Foreign Key Terms: select the target mode and manually map the Foreign Key Terms to the corresponding Source Terms:
        • FK for the Role of Employee with the EmployeeBusinessEntityID
        • FK for the Role of Manager with the ManagerBusinessEntityID

    In both cases, as some manager employees do not have managers, please set the FK for the Role Manager as Nullable.

    Properties

    A Hierarchical Link  Model Object can be configured through the following Properties

    Default Terms

    A Hierarchical Link  Model Object will include the following Default Terms: