Relations Schema
AssociationStorage Element
Relations Schema : AssociationStorage Element

Glossary Item Box

Description

A description of the data model of a 1-to-1 or 1-to-many association.
Namespace (none)

Diagram

AssociationTargetTypeColumn Element AssociationTargetIdColumn Element AssociationSourceTypeColumn Element AssociationSourceIdColumn Element AssociationEntity Element Sequence AssociationStorage Element

Overview

AssociationStorage
A description of the data model of a 1-to-1 or 1-to-many association.
Sequence
AssociationEntity xs:string
The name of the associated entity.
AssociationSourceIdColumn xs:string
The function of the data in the source field that links the entities. For example, parent-id or second-endpoint-id.
AssociationSourceTypeColumn optional xs:string
The kind of data in the reference column of the source entity. For example, from-endpoint-type or parent-type.
AssociationTargetIdColumn xs:string
The function of the data in the target field that links the entities. For example, parent-id or second-endpoint-id.
AssociationTargetTypeColumn optional xs:string
The kind of data in the reference column of the source entity. For example, from-endpoint-type or parent-type.

Source

<xs:element name="AssociationStorage" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
                A description of the data model of a 1-to-1 or 1-to-many association.
            </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="AssociationEntity" type="xs:string">
        <xs:annotation>
          <xs:documentation>
                            The name of the associated entity.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssociationSourceIdColumn" type="xs:string">
        <xs:annotation>
          <xs:documentation>
                            The function of the data in the source field that links the entities. For example, parent-id
                            or second-endpoint-id.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssociationSourceTypeColumn" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
                            The kind of data in the reference column of the source entity. For example,
                            from-endpoint-type or parent-type.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssociationTargetIdColumn" type="xs:string">
        <xs:annotation>
          <xs:documentation>
                            The function of the data in the target field that links the entities. For example, parent-id
                            or second-endpoint-id.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssociationTargetTypeColumn" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>
                            The kind of data in the reference column of the source entity. For example,
                            from-endpoint-type or parent-type.
                        </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also