Chapter 8 Shortcuts and Object Replications


Replica and replication properties

Replicas have the property sheets appropriate to their object type. For example, a replica of a class has a standard class property sheet. However, by default, the property sheet of a replica is read-only because all its properties are synchronized with the original object.

In order to make editable any of the properties of a replica, you must open the properties of the replication responsible for its link with the original object.

Steps To open the property sheet of a replication:

  1. Open the property sheet of a replica and click the Version Info tab.
  2. Click the Replication Properties button in the Replicated From groupbox.

The definition of a replication object includes the following general properties:

Property Description
Original Object Model Model of the original object. The Properties button lets you open the property sheet of the model containing the original object.

The List of Target Models shows models containing shortcuts or replicas in the current session. It also allows you to get a model full name to distinguish from another.
For more information on how to use the List of the Target Model, see Working with the target models referenced by the model.
Original Object Full Name Full path describing the location of the original object. The Properties button lets you open the property sheet of the original object
Original Object Type Type of the original object
Original Object Status Displays the status of the original object. The following states are possible:

  • Closed – the target model is closed and the status of the original object cannot be determined
  • Opened – the target model is open and the original object is present.
  • Not Found – the target model or original object cannot be found. For more information, see Deleting replicas, replications, and original objects.
Replica Object Full Name Full path describing the location of the replica object. The Properties button lets you open the property sheet of the replica object
Generate Replication is automatically included among the objects generated from the model when you launch the inter-model generation process. For more information, see the Generating Replications section.

A replication definition also includes the following properties:

Property Description
Attributes List of replicated attributes
Collections List of replicated collections
Sub-Replications List of replicated sub-objects (for example a column of a replicated table)

Note   Opening the property sheet of a replication from the List of Replications
Select Model→Replications to open the List of Replications, select a replication in the list, and then click the Properties tool

 


Copyright (C) 2008. Sybase Inc. All rights reserved.