complexType "NCubeInstanceType"
Namespace:
Content:
complex, 7 attributes, 22 elements
Defined:
Includes:
definitions of 10 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
xs:boolean : "false"
 = 
"true"
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
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:VersionableType (extension)
          NCubeInstanceType
XML Source (w/o annotations (11); see within schema source)
<xs:complexType name="NCubeInstanceType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="r:NCubeReference"/>
<xs:element minOccurs="0" ref="r:MeasureDimension"/>
<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; 10/22)
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 CoordinateRegion. 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:
r:DelimiterType, 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.
Simple Content
enumeration of xs:string
Enumeration:
"space"
 - 
Objexts are separated by a " " (space).
"tab"
 - 
Objects are separated by a "tab" entry.
"comma"
 - 
Objects are separated by a "," (comma).
"semicolon"
 - 
Objects are separated by a ";" (semicolon).
"colon"
 - 
Objects are separated by a ":" (colon).
"pipe"
 - 
Objects are separated by a "|" (pipe).
"other"
 - 
A character or string of characters other than those provided for in the enumeration. Use the attribute "otherValue" to enter the character string.
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:MeasureDimension
Type:
r:MeasureDimensionType, complex content
This element defines the structure of a measure dimension for the NCube Instance. A value along the MeasureDimension is defined by a stack of references to one or more MeasureDefinitions found in the logical description of the NCube with each containing an attribute of orderValue which provides its value for use in the cell address (similar to the use of a CodeRepresentation of a Variable used as a conceptual dimension. This allows measures (whether one or several) to be handled in the same way as the conceptual dimension of the NCube in declaring a cell address. It is assumed that the value of the MeasureDimension is the last value in the address array. For example, for an NCube with 3 conceptual dimensions of rank 1 = Sex, rank 2 = Age, and rank 3 = Educational Attainment, plus a MeasureDimension. The cell address of 1,4,2,2 would indicate Code value of 1 for Sex, 4 for Age, 2 for Educational Attainment, and 2 for MeasureDimension. For systems translating to SDMX or an OLap structure DDI assumes that the MeasureDefinitionReference with the orderValue="1" is the equivalent of the PrimaryMeasure.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:MeasureDimension"/>

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:nonNegativeInteger, 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.12 using DocFlex/XML XSDDoc 2.9.0 template set