IHierarchialLevel¶
IHierarchialLevel is the contract implemented by HierarchialLevel; it extends ISegmentGroup with the HL-rooted LevelData/HierarchySegment surface required to model one hierarchical level nested within a hierarchical transaction (BR-035).
Purpose¶
- Declares the typed
LevelData(HL) accessor, rawHierarchySegment, and memberSegmentsthat any hierarchical-level implementation must provide.
Context¶
- Namespace:
SAIF.Common.Files.Edi - Assembly/package:
SAIF.Framework.Common.Files - Extends:
ISegmentGroup
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| LevelData | HlSegment LevelData { get; } |
The strongly-typed HL segment for this hierarchical level. |
| HierarchySegment | IEdiSegment HierarchySegment { get; } |
The raw HL segment used as the source for LevelData. |
| Segments | IEnumerable<IEdiSegment> Segments { get; } |
This level's member segments with control segments excluded (BR-033). |
Inherited public members¶
Members in this section are inherited from ISegmentGroup in SAIF.Framework.Common.Files. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
| Index | int Index { get; set; } |
The sequential ordinal assigned to this level among its siblings. | SAIF.Framework.Common.Files — ISegmentGroup |
| Key | string Key { get; set; } |
The HL01 hierarchical ID number value that uniquely identifies this level (BR-034). | SAIF.Framework.Common.Files — ISegmentGroup |
| SegmentGroupId | string SegmentGroupId { get; set; } |
The segment tag ("HL") that this group was delimited by during parsing. |
SAIF.Framework.Common.Files — ISegmentGroup |
| Level | int Level { get; set; } |
The nesting depth of this group. | SAIF.Framework.Common.Files — ISegmentGroup |
Sources¶
- Common\SAIF.Common.Files\Edi\IHierarchialLevel.cs