Class PhysicalStructure
Describes the physical structure of a RecordLayout.
Inheritance
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class PhysicalStructure : DescribableBase, INotifyPropertyChanged, 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 |
|---|---|
| int? | The default decimal positions. |
DefaultDecimalSeparator
Gets or sets the decimal separator used by DataItems.
Declaration
public char DefaultDecimalSeparator { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| char | The default digit group separator. |
DisplayLabel
Gets the display label.
Declaration
public override string DisplayLabel { get; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| int | The number of children removed from the item. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | child |
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 |
|---|---|
| int | The number of children replaced. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | child |
WatchProperties()
Watch for property changed events
Declaration
protected override void WatchProperties()