共用方式為


2.2.4.2.2.11.1.2 RegularMeasureGroupDimension

This complex type represents a direct many-to-one or one-to-one relationship between a CubeDimension and a MeasureGroup. The XSD is complete for this class and includes all elements from the base class and the derived class. The table includes only additional elements in the derived class. 

   <xsd:complexType name="RegularMeasureGroupDimension">
     <xsd:complexContent>
       <xsd:extension base="MeasureGroupDimension">
         <xsd:all>
           <!--These elements are inherited from MeasureGroupDimension-->
           <xsd:element name="CubeDimensionID" type="xsd:string"/>
           <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="Source" type="MeasureGroupDimensionBinding" minOccurs="0" />
           <!--Extended elements for RegularMeasureGroupDimension object-->
           <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="Attributes" >
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="Attribute"  type="MeasureGroupAttribute"
                              maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
         </xsd:all>
       </xsd:extension >
     </xsd:complexContent>
   </xsd:complexType>

The following table has only those elements that are in addition to those in the MeasureGroupDimension abstract base class.

Element

Read-Only

Default value

Description

Cardinality

"One"<85>

Indicates the cardinality of the relationship (many-to-one or one-to-one).

Attributes

[Required]

A collection of MeasureGroupAttribute objects. Exactly one granularity attribute MUST be defined for a Regular Measure Group. Additional attributes can be included in the collection if they are not granularity attributes. The server SHOULD<86> implicitly add any attribute that is not specified in the collection with the default element values.