Online Help TEDISegment
Unit JclEDI_ANSIX12, JclEDI_UNEDIFACT
Types
TEDISegment |
||||||||||||||||||||||||||||||||||||||||||||
The TEDISegment object contains and manages TEDIElement objects. In JclEDI_UNEDIFACT.pas: The TEDISegment object contains and manages TEDIElement and/or TEDICompositeElement objects. Since composite elements are not implemented the in JclEDI_ANSIX12.pas at this time, there are some differences in the implementation of TEDISegment between JclEDI_ANSIX12.pas and JclEDI_UNEDIFACT.pas units.
InternalCreateElement will create a TEDIElement object. Both functions are used by InternalCreateEDIDataObject. In JclEDI_UNEDIFACT.pas: InternalCreateCompositeElement will create a TEDICompositeElement object.
Acquires a TEDIDelimiter reference from the TEDISegment parent object.
In JclEDI_UNEDIFACT.pas: This function will create a TEDIElement or TEDICompositeElement object depending on the value of the CreateObjectType property
Element item management functions and procedures. In JclEDI_UNEDIFACT.pas:
Composite element item management functions and procedures.
This function implements the assembling of EDI data into EDI file format.
This procedure implements the disassembling of EDI data from EDI file format. In JclEDI_UNEDIFACT.pas: This procedure handles elements and composite elements.
This property allows direct and easy access to the TEDIElement objects managed by the object list in TEDISegment. In JclEDI_UNEDIFACT.pas: This property does not exist because of the management of two different subtypes in the object list of TEDISegment. Use the inherited EDIDataObject property instead and typecast as necessary.
A property that exposes the object list in TEDISegment. In JclEDI_UNEDIFACT.pas: This property does not exist because of the management of two different subtypes in the object list of TEDISegment. Use the inherited EDIDataObjects property instead.
The segment id.
Gets the count of TEDIElement objects. In JclEDI_UNEDIFACT.pas: This property does not exist because of the management of two different subtypes in the object list of TEDISegment. Use the inherited EDIDataObjectCount property instead. |
Usage
Notes & Examples |
||||||||
The following is a simple example.
Using JclEDI_UNEDIFACT.pas: To access an element or
composite element you must check for the type and typecast using the
inherited EDIDataObject property.
|