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.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DataItem : NotificationObject, INotifyPropertyChanged
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 |
---|---|
int? |
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 |
---|---|
int? |
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 |
---|---|
char |
Delimiter
Gets or sets the delimiter that separates this DataItem from the next.
Declaration
public DelimiterType? Delimiter { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
char |
DisplayLabel
Gets the display label.
Declaration
public string DisplayLabel { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
int? |
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 |
---|---|
int? |
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
[AlsoNotifyFor("DisplayLabel")]
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 |
---|---|
int? |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |
Overrides
WatchProperties()
Watch for property changed events
Declaration
protected override void WatchProperties()