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


Constants to Make Method Code Clearer

 

Instructions

  1. In the Browser, right-click the Book class and select
    New Attribute from the popup menu.
  2. Overtype «const» Available as the name for the constant attribute.
  3. Double-click the «const» Available constant attribute. The Constant Specification dialog is displayed.
  4. Complete the dialog as shown and click the OK button.
  5. Add another constant called OnLoan with an integer value of 1.

A class constant in JADE corresponds to an attribute with the
«const» stereotype in Rational Rose.

The constant must also be given a value.

For the Book class, we will define two integer constants relating to a book's loan status.


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.