Data correlation consists of two parts. One part is the source for the data and the other is the consumer of the data. The base class for all data sources is called DataSource and the one for consumer is Substituter.
A model element in the protocol extension that can contain data sources must be marked as a data source host by implementing the DataSourceHost interface. A model element that can contain consumers of data sources must be marked as a consumer host by implementing the DataSourceConsumer interface.
The following diagram shows the relationship between the data source and the consumer:
A protocol extension can provide its own set of built-in data sources using the extension point described in the "Extension points" topic.
The following diagram shows the relationship between these classes:
The basic consumer type provided is a Substituter. The following diagram shows the Substituter structure: