The ediDataElement object can represent either a composite element or a simple
data element. A simple data element is the smallest structure in the standard,
which not only carries the actual business data, but also contains properties
that describe the data. A composite element contains a collection of
simple data elements.
Methods
ExportValue
- Exports the value to an external file.
First
- Gets the first data element in the collection.
FileValue
- Gets or sets the value of a data element using data from a file object.
GetRepeatInstance
- Gets the repeating instance of the data element.
ImageValue
- Gets or sets the value of the data element as an image file.
ImportValue
- Imports the data of an external file into the value.
Last
- Gets the last data element in the collection.
Next
- Gets the next data element in the collection.
Previous - Gets the
previous data element in the collection.
RecordAckCode - Record an error code
pertinent to the data element in the acknowledgment document.
Properties
DataElements
- Returns the object containing the collection of component or sub elements.
DataLength
- Returns the length of the data element value.
DataType
- Returns the data type of the data element.
Definition
- Returns the matching definition object of the data element from the schema.
Description
- Returns the description or name of the data element.
HexValue
- Returns the hexadecimal value of the data element.
IndexNumber
- Returns the index location of the data element in the collection.
IsComponent
- Indicates if the data element is a component data element.
IsComposite
- Indicates if a data element is a composite data element.
MaximumLength
- Returns the maximum length of the value that the data element is allowed.
MinimumLength
- Returns the minimum length of the value that the data element is allowed.
Position
- Position number of the data element or component element in a data segment or
composite element respectively.
RepeatCount
- Returns the number of instances the data element has been repeated. This
value is valid only for the first instance of the element, otherwise it returns
zero.
RepeatNumber
- Returns the instance of the element in the repeating sequence. The first
instance has a repeat number of 1.
Requirement
- Returns the standard requirement of the data element's presence at its
position in the collection.
UserRequirement
- Returns the user requirement of the data element's presence at its position
in the collection.
Value
- Gets or sets the value of the data element.