Real Time Information Director User Documentation
RTID Extensibility 
Hewlett-Packard Company  15  529618 - 001 
2.  Compile the Java source file, as described in “Compiling Metadata.” 
3.  Test the metadata, and deploy the updated Java class files to the RTID runtime 
environment. See “Deploying Metadata” for deployment steps. 
To test inbound IDocs, use the Delsert or Disassemble standalone program. To 
test outbound IDocs, use the Select standalone program.  To test both inbound and 
outbound IDocs, use the Reselect program. See “Testing the Metadata” for 
information about syntax. 
Updating Metadata for a Native Document Definition 
After the initial native document definition is created, users users may request changes 
such as: 
•  Adding tables to the document definition, to insert or update additional 
information into the database, or to return additional information in a query
• 
Removing tables (or removing specific columns from a table) from the document 
definition, to simplify the output of a query
• 
Mapping internal columns to external columns (for a query) or external columns 
to internal columns (for an insert or update)
• 
Adding custom enrichments to implement business logic that affects the data 
before it is inserted or updated into the database
Refer to the RTID Metadata Language module for detailed information about metadata 
constructs. 
Changing Existing Metadata 
Once you have the mapping information you need, follow these steps to change your 
metadata.
1. 
Open the Java source file that contains the native document definition. Locate the 
record definition (EnrichedRecord, RelatedRecords, DocumentRecord or any of 
their subclasses) in the native document definition Java file. Additionally, if the 
Java file refers to statically defined record definitions, open the Java source file 
that contains the static record definitions. For example, if you wanted to modify 
the metadata for the Checkout document definition in the Library example, you 
would edit the com\hp\lab\library\Checkout.java file. But to modify the 
checkoutItemRecord, you need to open the Java file that defines the static 
EnrichedRecord checkoutItemRecord.
2. 
To add or remove tables, remove the RelatedRecords (or a subclass of 
RelatedRecords) from the native document definition. To make other changes, 
add an enrichment to the EnrichedRecord object used in RelatedRecords (or a 
subclass of RelatedRecords). 










