Navigating to a Reference or Collection
You can navigate the database by double clicking the
references and collections.
These paths through the database are used by
objects to send messages to other objects - the most fundamental
communication and collaboration mechanism in any object-oriented system.
Instructions
To start, make sure the Borrower class is selected and select the
Classes | Inspect Instances menu command.
You start off with the two Borrowers.
- Double click the first Borrower.
The Borrower's properties are displayed.
- Double click the myBooks reference.
Books that are checked out are displayed.
- Double click the first Book.
The Book's properties are displayed.
- Double click the myBorrower reference.
You are back to the first Borrower.
- Close the inspector windows by selecting the File | Close All menu command.
|