| SegmentAttribute Class |
EDI DOM attribute to mark an EDI segment.
EDI segments are identified by their tag (or EDI segment ID) and then the values of the first two EDI data elements,
if any of them is defined with EDI data element codes.
The EDI parser will search for matches based on the EDI segment tag first and then will match the values of the first
EDI data element if it's not null. If there was a match for the first EDI data element then the EDI parser will try and match the second EDI data element.
This is useful where multiple same-tag EDI segments can appear in a non-sequence EDI group based on the context of the EDI transaction.
Example would be HIPPA NM1 receiver name or NM1 submitter name.
Inheritance Hierarchy Namespace: EdiFabric.Core.Annotations.EdiAssembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax public sealed class SegmentAttribute : EdiAttribute
Public NotInheritable Class SegmentAttribute
Inherits EdiAttribute
The SegmentAttribute type exposes the following members.
Constructors | Name | Description |
---|
| SegmentAttribute(String, Boolean) |
Initializes a new instance of the SegmentAttribute class.
|
| SegmentAttribute(String, Char) |
Initializes a new instance of the SegmentAttribute class.
|
| SegmentAttribute(String, Char, Char) |
Initializes a new instance of the SegmentAttribute class.
|
| SegmentAttribute(String, Type, Type) |
Initializes a new instance of the SegmentAttribute class.
|
| SegmentAttribute(String, Boolean, Char, Type, Type) |
Initializes a new instance of the SegmentAttribute class.
|
TopProperties | Name | Description |
---|
| ElementDelimiter |
The flat file element delimiter.
|
| First |
The EDI data element to match first.
|
| IsOmni |
Whether it is the system segment that matches any segment.
|
| PadChar |
The padding char.
|
| PadLeft |
The padding direction, right by default.
|
| Second |
The EDI data element to match second.
|
| SubElementDelimiter |
The flat file sub element delimiter.
|
TopSee Also