Click or drag to resize

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
SystemObject
  SystemAttribute
    EdiFabric.Core.Annotations.EdiEdiAttribute
      EdiFabric.Core.Annotations.EdiSegmentAttribute

Namespace: EdiFabric.Core.Annotations.Edi
Assembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax
public sealed class SegmentAttribute : EdiAttribute

The SegmentAttribute type exposes the following members.

Constructors
 NameDescription
Public methodSegmentAttribute(String, Boolean) Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Char) Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Char, Char) Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Type, Type) Initializes a new instance of the SegmentAttribute class.
Public methodSegmentAttribute(String, Boolean, Char, Type, Type) Initializes a new instance of the SegmentAttribute class.
Top
Properties
 NameDescription
Public propertyElementDelimiter The flat file element delimiter.
Public propertyFirst The EDI data element to match first.
Public propertyIsOmni Whether it is the system segment that matches any segment.
Public propertyPadChar The padding char.
Public propertyPadLeft The padding direction, right by default.
Public propertySecond The EDI data element to match second.
Public propertySubElementDelimiter The flat file sub element delimiter.
Top
See Also