Class PhysicalStructure
Describes the physical structure of a RecordLayout.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class PhysicalStructure : DescribableBase, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable
Constructors
PhysicalStructure()
Initializes a new instance of the PhysicalStructure class.
Declaration
public PhysicalStructure()
Properties
DefaultDecimalPositions
Gets or sets the number of decimal places for DataItems without an explicit decimal separator.
Declaration
public int ? DefaultDecimalPositions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The default decimal positions. |
DefaultDecimalSeparator
Gets or sets the decimal separator used by DataItems.
Declaration
public char DefaultDecimalSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Char | The default decimal separator. |
DefaultDelimiter
Gets or sets the default delimiter used to separate DataItems in a delimited file.
Declaration
public string DefaultDelimiter { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default delimiter. |
DefaultDigitGroupSeparator
Gets or sets the digit group separator used by DataItems.
Declaration
public char DefaultDigitGroupSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Char | The default digit group separator. |
DisplayLabel
Gets the display label.
Declaration
public override string DisplayLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Remarks
The display label returns text to be displayed in a user interface or in generated documentation.
Format
Gets or sets the format (e.g., delimited file, fixed format file, SAS save file).
Declaration
public CodeValue Format { get; set; }
Property Value
Type | Description |
---|---|
CodeValue | The format. |
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
Overrides
RecordStructures
Gets the record structures, which determine the LogicalRecord held in this PhysicalStructure.
Declaration
public ObservableCollection<GrossRecordStructure> RecordStructures { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<GrossRecordStructure> |
Methods
GetChildren()
Gets the identifiers of the item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection | The identifiers of the item's children. |
Overrides
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | child | The child to be removed. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children removed from the item. |
Overrides
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | toReplace | The identifier of the child to replace. |
IVersionable | child | The new child. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children replaced. |