Freigeben über


2.2.4.2.2.8.1.1 AttributeRelationship

This complex type represents a relationship between two attributes in a dimension. 

   <xsd:complexType name="AttributeRelationship">
     <xsd:all>
       <xsd:element name="AttributeID" type="xsd:string" />
       <xsd:element name="RelationshipType" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Rigid" />
             <xsd:enumeration value="Flexible" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Cardinality" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Many" />
             <xsd:enumeration value="One" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Optionality" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Mandatory" />
             <xsd:enumeration value="Optional" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="OverrideBehavior" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Strong" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Annotations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Name" type="xsd:string" minOccurs="0" />
       <xsd:element name="Visible" type="xsd:boolean"  minOccurs="0" />
       <xsd:element name="Translations"  minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Translation"  type="Translation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

AttributeID

[Required]

The ID for the object.

RelationshipType

"Flexible"

Indicates whether the attribute relationship is Flexible or Rigid. Flexible and rigid relationships are enforced. Flexible relationships can change over time. Rigid relationships cannot.

Cardinality

"Many"

Indicates if the related attribute has a many-to-one or one-to-one relationship with this attribute.

Optionality

"Mandatory"

Indicates if each member in a related attribute is associated with at least one member in this attribute.

OverrideBehavior

"Strong"

Indicates the override behavior of the relationship described by an AttributeRelationship element. Dictates how positioning on one attribute affects the position of the other.

Annotation

Empty

A collection of Annotation objects.

Name

Default is to use Attribute name.

The name of the AttributeRelationship.

Visible

True

When true, indicates that the relationship is visible to clients; otherwise, false.

Translations

Empty

A collection of Translation objects.