Hide this

Results from Google Books

Click on a thumbnail to go to Google Books.

The Object Constraint Language: Precise Modeling With Uml (Addison-Wesley Object Technology Series) by Jos Warmer
Loading...

The Object Constraint Language: Precise Modeling With Uml (Addison-Wesley…

by Jos Warmer

MembersReviewsPopularityAverage ratingConversations
33None179,994 (2.83)None
Loading...
won't like will probably not like will probably like will like will love

Sign up for LibraryThing to find out whether you'll like this book.

No reviews
no reviews | add a review
You must log in to edit Common Knowledge data.
For more help see the Common Knowledge help page.
Series (with order)
Canonical Title
Original publication date
People/Characters
Important places
Important events
Related movies
Awards and honors
Epigraph
Dedication
First words
Quotations
Last words
Disambiguation notice
Publisher's editors
Blurbers

References to this work on external resources.

Wikipedia in English

None

Book description

Amazon.com Amazon.com Review (ISBN 0201379406, Paperback)

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 Dragan

(retrieved from Amazon Fri, 24 Apr 2009 07:57:54 -0400)

The first test round has been closed. Visit the Open Shelves Classification group for details.

Quick Links

Ebooks Audio Swap
1 pay1/1

Popular covers

 

Help/FAQs | About | Privacy/Terms | Blog | Contact | LibraryThing.com | APIs | WikiThing | Common Knowledge | 47,112,148 books!