Package com.luciad.datamodel.transformation


package com.luciad.datamodel.transformation

This package provides an API to support data transformations from one model to another model. These transformations can be bi-directional such that transformations from one model to another and back are supported. For all of this to work, the models must expose their data as data objects.

The main classes provided by this package are:

To set up a transformation from one model to another, first a TLcdTransformer must be created. Then this transformer needs to be configured such that it can transform objects from the source model to the target model (and optionally vice-versa). Basically for each type in the source model, an ILcdObjectTransformation should be registered. Such a transformation is responsible for transforming an object of the source type into the target type. In case the source and target data models are alike (meaning that source and target types are more or less similar), TLcdDataModelMapping can be used to simplify the configuration of the transformer. TLcdDataModelMapping instances provide support to automatically map types from the source model to the target model. As such, only the parts where the model are really different need to be explicitly mapped.

Since:
11.0