Object Constraint Language: Precise Modeling with UML (OBT) Book + PRICE WATCH * Amazon pricing is not included in price watch

Object Constraint Language: Precise Modeling with UML (OBT) Book

C/C++ programmers commonly use assert statements to ensure program values are within range. You may be surprised to learn that the ability to model such constraints is now built into the Unified Modeling Language (UML) v. 1.1 in the form of the Object Constraint Language (OCL). The Object Constraint Language shows that with simple, elegant OCL statements, a UML design can be made more logically robust and easy to understand. The book begins with the ideas behind OCL, that it must model constraints as simply as possible. (Early formal languages such as Z and Larch often relied on mathematical symbols; not so with OCL.) The authors show that OCL can be used to model invariants (which apply conditions to classes) and in pre- and postconditions, which can be used to constrain operations of a class. The second chapter models a simple credit card bonus program (where credit card users can earn bonus points for using their cards according to known rules). This example is good because it lets the authors show how limiting conditions can enhance a UML design. They introduce the basic data types available in OCL, as well as collections of objects such as sets, bags, and sequences. Further sections cover advanced features, including working with collections and resolving ambiguous conditions. The authors provide hints for using OCL effectively, as well as extending OCL in new ways. (The motto here is simplicity first.) A handy appendix on OCL ensures that this very concise--yet useful--guide will bring the reader up to date on an important capability available in today's UML standard. --Richard DraganRead More

from£30.53 | RRP: £22.99
* Excludes Voucher Code Discount Also available Used from £8.78
  • Product Description

    A practical guide to the OCL (part of the UML 1.0 standard of the OMG), this title is designed for software architects, designers, and developers. The authors' pragmatic approach and illustrative use of examples help application developers to quickly get up to speed with this important object modeling technique.

  • 0201379406
  • 9780201379402
  • Jos Warmer, Anneke Kleppe
  • 13 October 1998
  • Addison Wesley
  • Paperback (Book)
  • 112
  • 1
As an Amazon Associate we earn from qualifying purchases. If you click through any of the links below and make a purchase we may earn a small commission (at no extra cost to you). Click here to learn more.

Would you like your name to appear with the review?

We will post your book review within a day or so as long as it meets our guidelines and terms and conditions. All reviews submitted become the licensed property of www.find-book.co.uk as written in our terms and conditions. None of your personal details will be passed on to any other third party.

All form fields are required.