complexType "NCubeInstanceType"
Namespace:
Content:
complex, 6 attributes, 20 elements
Defined:
Includes:
definitions of 9 elements
Used:
XML Representation Summary
<...
   
 = 
("Canonical" | "Deprecated")
 = 
("Add" | "Update" | "Delete")
 = 
xs:anyURI
 = 
("Agency" | "Maintainable") : "Agency"
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
"true"
    >
   
Content: 
(r:URN | (r:Agency, r:ID, r:Version))[1..2], r:UserID*, r:UserAttributePair*, (r:VersionResponsibility | r:VersionResponsibilityReference)?, r:VersionRationale?, r:BasedOnReference?, r:MaintainableObject?, r:NCubeReference, AttachedAttribute*, DataItem*, r:DefaultDataType?, r:DefaultDelimiter?, r:DefaultDecimalPositions?, r:DefaultDecimalSeparator?, r:DefaultDigitGroupSeparator?, r:NumberOfCases?
</...>
Content Model Elements (20):
AttachedAttribute, DataItem, r:Agency, r:BasedOnReference, r:DefaultDataType, r:DefaultDecimalPositions, r:DefaultDecimalSeparator, r:DefaultDelimiter, r:DefaultDigitGroupSeparator, r:ID, r:MaintainableObject, r:NCubeReference, r:NumberOfCases, r:URN, r:UserAttributePair, r:UserID, r:Version, r:VersionRationale, r:VersionResponsibility, r:VersionResponsibilityReference
All Direct / Indirect Based Elements (1):
NCubeInstance
Known Usage Locations
Annotation
A container for defining an instance of an NCube, indicating the matrix address of each cell and capturing the data for each measure within a cell of the NCube is stored. Allows specifying the values of the attributes attached to a NCube.
Type Definition Detail
Type Derivation Tree
r:AbstractIdentifiableType (extension)
      r:VersionableType (extension)
          NCubeInstanceType
XML Source (w/o annotations (10); see within schema source)
<xs:complexType name="NCubeInstanceType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="r:NCubeReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="AttachedAttribute"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataItem"/>
<xs:element minOccurs="0" ref="r:DefaultDataType"/>
<xs:element minOccurs="0" ref="r:DefaultDelimiter"/>
<xs:element minOccurs="0" ref="r:DefaultDecimalPositions"/>
<xs:element minOccurs="0" ref="r:DefaultDecimalSeparator"/>
<xs:element minOccurs="0" ref="r:DefaultDigitGroupSeparator"/>
<xs:element minOccurs="0" ref="r:NumberOfCases"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 9/20)
AttachedAttribute
Type:
AttachedAttributeType, complex content
This is an attribute attached to the NCube as a whole or a region of the NCube as defined in the logical description as a CoordinateGroup. The content of the attribute can be provided as a single value or reference a location in the data store where the attribute value will be found. This may be in addition to attribute information described in the logical structure.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="AttachedAttribute"/>

DataItem
Type:
DataItemType, complex content
Describes a single data item or cell within an NCube Instance. It defines its location within the NCube by its coordinate (matrix) address which is its intersect point on each dimension. Allows for the specification of data item specific attributes, and identifies the value of each measure for the data item. May optionally indicate the language of the data contents.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataItem"/>

r:DefaultDataType
Type:
r:CodeValueType, simple content
An explicit definition of the data type that is applied to the majority of the data items reducing the amount of repetitive markup required. It can be overridden at the data item level. This field is necessary in the case of some numeric data formats where the format definition would allow real values, but the values are integer values. Allowed values are: integer (default), real, string.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultDataType"/>

r:DefaultDecimalPositions
Type:
xs:integer, predefined, simple content
Number of decimal places for data with an implied decimal separator that is applied to the majority of the data items reducing the amount of repetitive markup required. It can be overridden at the data item level. Another expression is the decimal scaling factor (SAS). Default: 0.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultDecimalPositions"/>

r:DefaultDecimalSeparator
Type:
r:OneCharStringType, simple content
The character used to separate the integer and the fraction part of a number (if an explicit separator is used in the data) that is applied to the majority of the data items reducing the amount of repetitive markup required. It can be overridden at the data item level. Allowed values are: None (default), Dot, Comma, Other. On the basis of the data definition in DDI documents, data processing tools could compute the necessary precision width on the basis of the format width and the existence of separators. Appropriate data types could be used, i.e. float or double, short or long. The decimal separator definition only makes sense with some XML Schema primitives. This is a default which may be overridden in specific cases.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultDecimalSeparator"/>

r:DefaultDelimiter
Type:
xs:string, predefined, simple content
Delimiter definition for delimited (free field) data that is applied to the majority of the data items reducing the amount of repetitive markup required. It can be overridden at the data item level. Allowed values are: Empty (default), Tab, Blank, AnyString. If a delimiter is used, free field (delimited data) is assumed; binary formats are not allowed.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultDelimiter"/>

r:DefaultDigitGroupSeparator
Type:
r:OneCharStringType, simple content
The character used to separate groups of digits (if an explicit separator is used in the data) that is applied to the majority of the data items reducing the amount of repetitive markup required. It can be overridden at the data item level. Allowed values are: None (default), Dot, Comma, Other. The decimal separator definition makes only sense with some XML Schema primitives. This is a default which may be overridden in specific cases.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:DefaultDigitGroupSeparator"/>

r:NCubeReference
Type:
r:ReferenceType, complex content
Reference to the logical NCube description.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="r:NCubeReference"/>

r:NumberOfCases
Type:
xs:integer, predefined, simple content
Total number of cases represented by the contents of the NCube. This is normally the sum of the cell contents when the NCube contains counts and sub-totals are not included.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:NumberOfCases"/>

XML schema documentation generated with DocFlex/XML 1.8.7 using DocFlex/XML XSDDoc 2.7.0 template set