Real Time Information Director User Documentation

RTID Metadata Language
Hewlett-Packard Company 14 529618-002
The following parameters are specified in various constructors of RequestRecord:
String[] keys. These elements of the request record serve as the selection keys
for the query.
An array of related records. Use RelatedRecords[] to specify multiple records
or RelatedRecords to specify just one record.
An enrichment. Enrichments are ways of enhancing inbound or outbound
data. Options are discussed under the heading “Enriching the Data,” later in
this document.
For RequestRecord class constructors, see the Javadoc for RequestRecord.
Arrays of Nested Metadata
You construct an array of RelatedRecords, using the new statement, and then construct
individual RelatedRecords. Nested constructors following an array are enclosed in
braces. Following the closing brace is the parenthesis to close the original constructor.
Put the closing brace and parenthesis on a separate line, tab-aligned with the original
constructor. Following a consistent model of line indentation will help you keep the
delimiters in balance.
This style of nested arrays is an economical way to represent metadata relationships and
is common to many Director metadata statements.
RelatedRecords
The RelatedRecords object selects one or more records from another table. By default,
the records are selected using the same keys as the parent record. We’ll see later how to
override this behavior.
RelatedRecords must have at least one parameter, which specifies either the name of the
table containing the related records (tableName) or an enriched record. You can also
include
A Links object that specifies how to link this table to the parent table. See
“Links.”
An array of RelatedRecords nested within this record. Use RelatedRecords[] to
specify multiple records or RelatedRecords to specify just one.
An enrichment. Enrichments are ways of enhancing inbound or outbound data.
Options are discussed under the heading “Enriching the Data,” later in this
document. This parameter is optional.
For RelatedRecords class constructors, see the Javadoc for RelatedRecords.