ibm Rational Rhapsody 7.5 — Objects

Object model diagram elements The following sections describe how to use these tools to draw the parts of an OMD. For basic information on diagrams including how to create, open, and delete them, see Graphic editors . Objects Rational Rhapsody separates objects from classes in diagrams. There are two types of objects: Objects with explicit object types specifies only the features that are relevant for the instance. An explicit object instantiates a “normal” class from the model. Objects with implicit types enables you to specify other features that belong to classes, such as attributes, operations, and so on. An implicit object is a combination of an instance and a class.

Technically, the class is hidden. Note that Rational Rhapsody in J does not support objects with implicit types. An object is basically an instance of a class; however, you can create an object directly without defining a class. Objects belong to packages and parts belong to structured classes; the browser separates parts and objects into separate categories. Rational Rhapsody 531 Drawing Tool Button Name Description Association Creates connections that are necessary for interaction such as messages. Directed association Indicates the only object that can send messages to another object. For more information, see Directed associations.

Aggregation Specifies an association between an aggregate (whole) and a component part. For more information, see Aggregation associations. Composition Defines a class that contains another part class. For more information, see Composition associations. Link Creates an association between the base classes of two different objects. For more information, see Links. Dependency Creates a relationship in which the proper functioning of one element requires information provided by another element. For more information, see Dependencies. Flow Specifies the flow of data and commands within a system. For more information, see Flows and flowitems.

Realization Specifies a realization relationship between an interface and a class that implements that interface. For more information, see Realization. Interface Adds a set of operations that publicly define a behavior or way of handling something so knowledge of the internals is not needed. Actor Represents an element that is external to the system. For more information, see Actors.