Previous Topic: Component ObjectsNext Topic: Enabling Objects


Companion Objects

Companion objects are similar to neighborhood objects in subsetting. They are not part of the definition of the aggregate, but if the referencing aggregate object is migrated, companion objects are automatically migrated if they do not already exist in the destination model. However, you can also specifically request their migration.

The purpose of companion objects is to maintain the context in which the aggregate object exists in the source model. If an aggregate object's companion objects already exist in the destination model, they are not replaced. However, any companion objects missing from the destination model are migrated to maintain context.