Interaction Reference Checks

The following OOM model checks are made on interaction references:

Check

Description and Correction

Interaction reference missing referenced diagram

An interaction reference object must reference a sequence diagram object.

Manual correction: Open the interaction reference property sheet and specify the sequence diagram to reference.

Automatic correction: None

Interaction reference attached lifelines consistency

The interaction reference symbol has a list of attached lifelines, which correspond to actors and objects. These actors and objects must match a subset of the ones displayed in the referenced sequence diagram. This corresponds to a subset because some lifelines in referenced diagram could not be displayed in the diagram of the interaction reference. The current check verifies the following consistency rules:

The number of attached lifelines cannot be greater than the number of lifelines in the referenced diagram

If one attached lifeline corresponds to an object, and if this object has an associated metaclass, then there must be at least one object in the referenced sequence diagram that is associated with the same metaclass

Manual correction: Change the list of attached lifelines for the interaction reference object. This can be done simply by resizing the interaction reference symbol or by clicking with the pointer tool on the intersection of the interaction reference symbol and the lifeline. The tool cursor changes on this area and allows you to detach the interaction reference symbol from (or attach it to) the lifeline.

Automatic correction: None

Too many input messages for reference

The interaction reference has more incoming than outgoing messages.

Manual correction: Delete incoming messages or add outgoing messages, until the numbers are equal.

Automatic correction: None

Too many output messages for reference

The interaction reference has more outgoing than incoming messages.

Manual correction: Delete outgoing messages or add incoming messages, until the numbers are equal.

Automatic correction: None


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com