Relations Schema
ReferenceStorage Element
Relations Schema : ReferenceStorage Element

Glossary Item Box

Description

A description of the data model of a one-to-many relation.
Namespace (none)

Diagram

ReferenceTypeColumn Element ReferenceLocation Element ReferenceIdColumn Element Sequence ReferenceStorage Element

Overview

ReferenceStorage
A description of the data model of a one-to-many relation.
Sequence
ReferenceIdColumn xs:string
The function of the data that links the entities. For example, parent-id or second-endpoint-id.
ReferenceLocation ReferenceLocationEnum Simple Type
Whether the reference field belongs to this entity or the target end of the relation.
ReferenceTypeColumn optional xs:string
The kind of data in the reference column. For example, from-endpoint-type or parent-type.

Source

<xs:element name="ReferenceStorage" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
                A description of the data model of a one-to-many relation.
            </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ReferenceIdColumn" type="xs:string">
        <xs:annotation>
          <xs:documentation>
                            The function of the data that links the entities. For example, parent-id or
                            second-endpoint-id.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReferenceLocation" type="ReferenceLocationEnum">
        <xs:annotation>
          <xs:documentation>
                            Whether the reference field belongs to this entity or the target end of the relation.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ReferenceTypeColumn" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
                            The kind of data in the reference column. For example, from-endpoint-type or parent-type.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also