Online Help TEDIElementSpec

Unit JclEDI_ANSIX12

Types

TEDIElementSpec

   The TEDIElementSpec object stores EDI element specification data.

 Properties

property Id: string read FElementId write FElementId;
property ElementId: string read FElementId write FElementId;
property Position: Integer read FPosition write FPosition;
property Description: string read FDescription write FDescription;
property Notes: string read FNotes write FNotes;
property RequirementDesignator: string read FRequirementDesignator
  write FRequirementDesignator;
property ElementType: string read FType write FType;
property MinimumLength: Integer read FMinimumLength write FMinimumLength;
property MaximumLength: Integer read FMaximumLength write FMaximumLength;

   Element specification properties.

 Function and Procedure

property ReservedData: TStrings read FReservedData;

   The ReservedData property is used in the Assemble and Disassemble methods to work with TStrings compatible string data.

 Function

function Assemble: string; override;

   This function implements the assembling of EDI data into EDI specification file format.

 Procedure

procedure Disassemble; override;

   This procedure implements the disassembling of EDI data from EDI specification file format.

   The TEDIElementSpec Assemble and Disassemble methods are implemented to integrate with TEDISegmentSpec Assemble and Disassemble methods. The TEDISegmentSpec is stored with a special element that has the id of "Reserved". This indicates that it is reserved data and should not be treated as element data. See TEDISegmentSpec for more information.

   See Specification Classes for more general information about EDI specification classes.

Usage

Notes & Examples

< Under Construction >