Enhancement
Major
Detail
Detail
Enhancement
If a new application with a new model is to be based on the existing data of an application to be replaced, you can proceed as follows:
- Design a new model for the functionalities with new GUIs and functions.
- You then define a model mapping from the old model to the new model.
- When migrating the inventory data, however, the old model is not transferred to the new model, but the object instances change their type during the migration (from a type in the old model to a type in the new model).
- Compared to a model migration from old to new, the data transfer is more flexible when it comes to structuring the new model. Only the concrete types in the new model must define a comparable set of properties as in the old model.
The following migration processors are required for the data transfer (package com.top_logic.element.model.migration.model.refactor):
- AlterColumnProcessor: Changes an object column (name, type, mandatory).
- ChangeObjectTypeProcessor: Changes the type assignment of objects of a specific type.
- ChangeReferencedObjectsTypeProcessor: Special form of type change. Changes the type of objects that are referenced via a special reference.
- ChangeLinkReferenceProcessor: Changes the model reference of existing object links.
- ExchangeModelReferences: Changes the assignments of model elements (e.g. TLClassifier) in object instances.
- CopyTableDataProcessor: Copies data from one table to another.
- InternationalizeAttributeProcessor: Combines string attributes that store values in different languages into an attribute of the type "Internationalized string".
- InvertLinkTableProcessor: Inverts the direction of links (swaps source and target).
- MoveLinksProcessor: Moves links from one table to another.
- MoveObjectsProcessor: Moves objects from one table to another.
- RemoveBridgeObjectProcessor: Creates direct links from a link that was previously realized via an intermediate object.
- SynthesizeLinkOrderProcessor: Turns an unordered reference into an ordered one.
- SynthesizeLinksProcessor: Creates new links between objects.
Test
No test.