Package com.tibco.sdk.metadata

The TIBCO Adapter SDK allows applications to use metadata that define the data schema the adapter uses.

See: Description

Package com.tibco.sdk.metadata Description

The TIBCO Adapter SDK allows applications to use metadata that define the data schema the adapter uses. Metadata classes form the basis for model-driven computing with your adapter. This document starts with some background information, then provides reference information for each interface and class.

This document discusses the data description classes that encapsulate the metadata in the adapter instance description object. Chapter 7, Data Encapsulation Interfaces and Classes, discusses classes used to actually instantiate objects based on the descriptions.

Contents

Metadata and the TIBCO Adapter SDK

Metadata is, by definition, data about data. In case of the SDK, metadata is data describing the data the application deals with. For example, for an application that extracts data from a database and publishes it to TIBCO Rendezvous, a public repository directory for the application instance contains objects that describes the database data to be extracted.

During initialization, MApp parses metadata classes in the URLs listed under Load Metadata URLs in the TIBCO Designer software and creates instances of them. These instances encapsulate the information from the repository. Your application can access any of the information through the MClassRegistry class and use the information to process the available data.

If at a later time the application needs a metadata class not currently available, the adapter checks the URLs listed under Search Metadata URL in the TIBCO Designer software.

For additional information about TIBCO Repository and TIBCO Designer, see the TIBCO Designer User?s Guide.

Some Uses for Metadata

Applications prespecify metadata using the TIBCO Designer software. Metadata is useful in several ways:

See TIBCO Adapter Data Model in TIBCO Adapter SDK Programmer's Guide.

Metadata Interfaces and Classes

The SDK defines the following metadata interfaces and classes.

Difference between Metadata in the C++ and the Java API

There are a few noticeable differences between the metadata explanation in the TIBCO Adapter SDK Programmer's Guide document and the metadata Java implementation:

Correspondences between XML Types and Java SDK Types

The correspondences between TIBCO Repository types and Java SDK types are listed in
Mapping of TIBCO Repository Type Names to Java Classes.