Class DataItem
Identifies a physical storage location for an individual data entry, serving as a link between the physical location and the logical content description of each data item.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DataItem : NotificationObject
Properties
ArrayPosition
Gets or sets the array position of the DataItem in a delimited file.
Declaration
public int ? ArrayPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
CultureOfData
The culture in which the data is represented.
Declaration
public CultureInfo CultureOfData { get; set; }
Property Value
Type | Description |
---|---|
CultureInfo |
Remarks
DDI3's LanguageOfData and LocaleOfData are both based off this. LanguageOfData is the ISO two character language code; LocaleOfData is the two character country code.
DecimalPositions
Gets or sets the number of decimal places for data where an explicit decimal separator does not exist.
Declaration
public int ? DecimalPositions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
DecimalSeparator
Gets or sets the character used to separate the integer and the fraction part of a number.
Declaration
public char DecimalSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
Delimiter
Gets or sets the delimiter that separates this DataItem from the next.
Declaration
public DelimiterType? Delimiter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DelimiterType> |
DigitGroupSeparator
Gets or sets the the character used to separate groups of digits, if an explicit separator is used in the data.
Declaration
public char DigitGroupSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
DisplayLabel
Gets the display label.
Declaration
public string DisplayLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
EndPosition
Gets or sets the position of the last character of the DataItem in a fixed format. Must be specified if a value for Width is not provided.
Declaration
public int ? EndPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
StartPosition
Gets or sets the start position of hte first character of the data item in a fixed format file.
Declaration
public int ? StartPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
StorageFormat
Gets or sets the storage format.
Declaration
public CodeValue StorageFormat { get; set; }
Property Value
Type | Description |
---|---|
CodeValue |
Variable
Gets or sets the variable expressed in this DataItem.
Declaration
public Variable Variable { get; set; }
Property Value
Type | Description |
---|---|
Variable |
Width
Gets or sets the width of the DataItem in a fixed format file. Must be specified if a value for EndPosition is not provided.
Declaration
public int ? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
ToString()
Returns a
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A |