Define Relationships for Datastore

When you define a Relationship, you establish a functional link between objects to facilitate querying and navigation between these objects.

Procedure

On the Relationship Details tab of the Object Type screen:

  1. Complete the general fields.
  2. Field Type / Max. length Contents
    Relationship name String / 50 Name that fully identifies the relationship. It must be unique in the Datastore instance.
    Origin name String / 50 Name of the origin entity.
    Origin scope String / 13

    Type of origin:

    • From version - Origin entity is the specified Object Type version as well as later versions.
    • Strict version - Origin entity is the specified Object Type and version.
    • Tag - Origin entity is a tag.
    Target name String / 50 Name of the Target entity
    Target scope String / 13

    Type of target:

    • From version - Target entity is the specified Object Type version as well as later versions.
    • Strict version - Target entity is the specified Object Type and version.
    • Tag - Target entity is a tag.
  3. For Origin scope, complete the fields.
  4. Field Type / Max. length Contents
    Origin scope = Version
    Origin multiplicity String / 4

    The multiplicity of the origin:

    • 0
    • 1
    • Many

    Along with the Target multiplicity forms the multiplicity of the relationship is: 0 to 1, 1 to many, etc.

    Origin Object Type name String / 50 Name of the Object Type set as origin.
    From version Integer First version of the Object Type set as origin.
    To version Integer Last version of the Object Type set as origin.
    Origin element path String / 100

    Select the path the relationship refers to from the list of

    paths for the selected object type.

    Origin identifiers String /250 Select from the list of properties the ones that are used in the relationship.
    Origin scope = Tag
    Origin multiplicity String / 4

    The multiplicity of the origin:

    • 0
    • 1
    • Many

    Along with the Target multiplicity forms the multiplicity of the relationship is: 0 to 1, 1 to many, etc.

    Origin Tag String / 30 Name of the Tag set as origin.
    Origin identifiers String / 250 Select from the list of properties the ones that are used in the relationship.
  5. For Target scope, complete the fields.
  6. Field Type / Max. length Contents
    Target scope = Version
    Target multiplicity String / 4

    The multiplicity of the target:

    • 0
    • 1
    • Many

    Along with the Origin multiplicity forms the multiplicity of the relationship is: 0 to 1, 1 to many, etc.

    Target Object Type name String / 50 Name of the Object Type set as target.
    First version Integer First version of the Object Type set as target.
    Last version Integer Last version of the Object Type set as target.
    Target element path String / 100

    Select the path the relationship refers to from the list of

    paths for the selected object type.

    Target identifiers String /250 Select from the list of properties the ones that are used in the relationship.
    Target scope = Tag
    Target multiplicity String / 4

    The multiplicity of the target:

    • 0
    • 1
    • Many

    Along with the Origin multiplicity forms the multiplicity of the relationship is: 0 to 1, 1 to many, etc.

    Target Tag String / 30 Name of the Tag set as origin.
    Target identifiers String / 250 Select from the list of properties the ones that are used in the relationship.

 

Related Links