Freigeben über


2.2.4.2.2.8.2.1 Level

The Level complex type defines a level in a hierarchy.

   <xsd:complexType name="Level">
     <xsd:all>
       <xsd:element name="Name" type="xsd:string" />
       <xsd:element name="ID" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
       <xsd:element name="SourceAttributeID" type="xsd:string" minOccurs="0"/>
       <xsd:element name="HideMemberIf" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Never" />
             <xsd:enumeration value="OnlyChildWithNoName" />
             <xsd:enumeration value="OnlyChildWithParentName" />
             <xsd:enumeration value="NoName" />
             <xsd:enumeration value="ParentName" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <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: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:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

Name

[Required]

The object name.

ID

Defaults to Name.

The object ID string.

Description

Empty

The object description.

SourceAttributeID

Default is for Level to be based on the containing attribute.

The ID of the source attribute on which the level is based. This can be an attribute from a referenced dimension.

HideMemberIf

"Never"

Indicates whether and when a level member is hidden from client applications. The enumeration values are:

  • Never - Members are never hidden.

  • OnlyChildWithNoName - A member is hidden when it is the only child of its parent and its name is empty.

  • OnlyChildWithParentName - A member is hidden when it is the only child of its parent and its name is identical to that of its parent.

  • NoName - A member is hidden when its name is empty.

  • ParentName - A member is hidden when its name is identical to that of its parent.

Translations

Empty

A collection of Translation objects.

Annotations

Empty

A collection of Annotation objects.