JADE is an advanced software platform that has an integrated software development environment, a language, an object manager, and a high performance database.


A Method to Reserve a Book

A method in JADE is called an 'operation' in Rational Rose.

We will provide a borrower with a method that attempts to reserve a book.

The method takes the book as a parameter and returns true if the book was reserved, false otherwise.

 

Instructions

  1. In the Browser, right-click the Book class and select
    New Operation from the popup menu.
  2. Overtype reserve as the name for the operation.
  3. Double-click the reserve operation. The Method Specification dialog is displayed.
  4. On the Method tab, select Boolean as the Return Type.
  5. On the Parameters tab, define a parameter named bk of type Book and click the Add button.
  6. Click the OK button.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Contents
 

For maximum reliability, security and performance of your JADE solution, JADE Care24 is our fully comprehensive systems management offering.