All the classes we define are part of the LibrarySchema package.
Double-click the package symbol in the logical view
to open a window to display and define classes. Initially the classes window is empty.
The Class tool in the toolbox creates
a class symbol for
- a new class in this package
- an existing class in any package
Instructions
- Double-click the LibrarySchema package in the Main diagram of the logical view.
A Classes window for LibrarySchema is opened.
- Select the
Class tool in the toolbox
and click anywhere in the Classes window. A new class symbol is created.
- Overtype the name for the new class NewClass as Book.
Click outside the new class symbol.
- Double-click the Book class symbol.
The Class Specification dialog is displayed.
- Complete the Class Specification dialog and click the OK button.
|