Real Time Information Director User Documentation
RTID Metadata Language
Hewlett-Packard Company 30 529618-002
For ORDERS05, the initial segment is E1EDK01. The initial segment contains
information for the top level record.
Parameters for the Segment class are given under “Segment,” later in this document.
FieldElement
The FieldElement class maps an element to a column of some table.
FieldElement has the following parameters:
• String tagName. This parameter identifies the XML tag and is required.
• String columnName. This parameter identifies the corresponding database
column and is required.
• Formatter formatter. This optional parameter specifies adjustments to be made in
cases in which data in an IDoc and data in the data store are represented
differently. For example, you might need to pad outgoing data with leading
zeroes or strip leading zeroes from incoming data. For more information about
formatters, see the section called “Formatter Classes,” later in this document.
Here are the possible constructors for the FieldElement class:
public FieldElement(String tagName, String columnName)
public FieldElement(String name, String columnName, Formatter formatter)
FieldsElement
The FieldsElement class maps the same XML element to multiple columns in the data
store. This object is useful in cases in which the same data is stored by a different name
in different tables (such as segmented or child tables).
FieldsElement has the following parameters:
• String tagName. This parameter identifies the XML tag.
• String[] columnNames. This parameter identifies the corresponding database
columns. Alternatively, you can pass the columnNames in a single string, using
spaces separators, as shown in the last example, below.
• FieldElement[] fieldElements. You can use this parameter instead of the first two,
as in the second example, below. This alternate syntax is useful for passing
parameters to other constructors, such as SegmentQualifier, to be described later.
Here are the possible constructors for the FieldsElement object:
public FieldsElement(FieldElement[] fieldElements)