Classes provide a specification (blueprint) for objects, which are self-contained, uniquely identified, run-time entities that consist of both data and operations that manipulate this data. Classes can contain attributes, operations, events, relations, components, super classes, types, actors, use cases, diagrams, and other classes. The icon that appears on the browser in IBM® Rational® Rhapsody® for a class is a three‑compartment box with the top, or name, compartment populated.
About this task
For an example of this icon, see Defining the attributes of a class.
To create classes, on the browser in Rational Rhapsody:
- Right‑click the Classes category to which you want to add a class and select Add New Class.
- Right-click a package and select .
- Select a package and choose .
The product creates a class and names it class_n, where n is greater than or equal to 0. The new class is located in the browser under the Classes category, and is selected so that you can rename it.