Items related to The Object Constraint Language: Precise Modeling With...

The Object Constraint Language: Precise Modeling With Uml (Addison-Wesley Object Technology Series) - Softcover

  • 2.50 out of 5 stars
    6 ratings by Goodreads
 
Image Not Available

Synopsis

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.

"synopsis" may belong to another edition of this title.

Review

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

From the Inside Flap

In November 1997, the Object Management Group (OMG) set a standard for object-oriented analysis and design facilities. The standard, known as the Unified Modeling Language (UML), includes model diagrams, their semantics, and an interchange format between CASE tools. Within UML, the Object Constraint Language (OCL) is the standard for specifying invariants, preconditions, postconditions, and other kinds of constraints.

The only way we can gain anything from a standard is if everyone uses it. Therefore, any standard should be easy to use, easy to learn, and easy to understand. These objectives were our guidelines during the development of OCL.

OCL can be called a "formal" language, but unlike other currently available formal languages such as Objective-Z or VDM++, OCL is not designed for people who have a strong mathematical background. The users of OCL are the same people as the users of UML: software developers with an interest in object technology. OCL is designed for usability, although it is underpinned by mathematical set theory and logic.

Our objective in writing this book is to offer to practitioners of object technology a convenient way to become acquainted with and make use of this part of the UML standard. By writing this book we intend to make OCL available to everyone who can benefit from it. Using, learning, and communicating with OCL should be easy, and this book is an effort to make it easy.

With this book we emphasize the importance of constraints in object-oriented analysis and design and the importance of a formal, separate language for constraint notation. Please take OCL and use it well, so that the whole object-oriented community will gain from your efforts. Acknowledgments

Although on the cover of any book only the names of the authors appear, a book is always the result of the blood, sweat, and tears of many people. For their efforts in reviewing this book we would like to thank Balbir Barn, Steve Cook, Wilfried van Hulzen, John Hogg, Jim Odell, and Cor Warmer. Special thanks go to Heidi Kuehn, who did a great job polishing our English.

Acknowledgments for their contributions to OCL must undoubtedly go to the following:

The IBM team that developed the first version of OCL: Mark Skipper, Anna Karatza, Aldo Eisma, Steve Cook, and Jos Warmer.

The joint submission team from IBM and ObjecTime. The ObjecTime team was composed of John Hogg, Bran Selic, and Garth Gullekson, and the IBM team consisted of Steve Cook, Dipayan Gangopadhyay, Mike Meier, Subrata Mitra, and Jos Warmer. On an individual basis, Marc Saaltink, Alan Wills, and Anneke Kleppe also contributed.

The UML 1.1 team, especially the semi-formal subgroup of the UML core team: Guus Ramackers, Gunnar Overgaard, and Jos Warmer.

Several people who influenced OCL during this period, most notably Desmond D'Souza, Alan Wills, Steve Cook, John Hogg, and James Rumbaugh.

The many persons who gave their feedback on the earlier versions of OCL.

We would also like to thank all our teachers, colleagues, clients, and friends who in the past 15 years made us aware of the need for a practical form of formalism in software development. Coming from a theoretical background (mathematics and theoretical computer science), we have always found sound formalisms appealing, but very early in our careers we decided that writing a two-page "proof" for five lines of code is not the right way to improve our software. We have been searching ever since for a way to combine our love for sound and complete formalisms with our sense of practicality. We hope and expect that OCL will turn out to be just that: a practical formalism. Anneke Kleppe and Jos Warmer
October 1998, Soest, Netherlands

0201379406P04062001

"About this title" may belong to another edition of this title.

  • PublisherAddison-Wesley
  • Publication date1998
  • ISBN 10 0201379406
  • ISBN 13 9780201379402
  • BindingPaperback
  • LanguageEnglish
  • Edition number1
  • Number of pages112
  • Rating
    • 2.50 out of 5 stars
      6 ratings by Goodreads

Buy Used

Condition: Good
Used book that is in clean, average... View this item

Shipping: FREE
Within U.S.A.

Destination, rates & speeds

Add to basket

Search results for The Object Constraint Language: Precise Modeling With...

Stock Image

Warmer, Jos
Published by Pearson Education, Limited, 1998
ISBN 10: 0201379406 ISBN 13: 9780201379402
Used Softcover First Edition

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. 1st. Used book that is in clean, average condition without any missing pages. Seller Inventory # GRP91904114

Contact seller

Buy Used

US$ 9.88
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Stock Image

Warmer, Jos
Published by Addison-Wesley Professional, 1998
ISBN 10: 0201379406 ISBN 13: 9780201379402
Used Paperback

Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 0.58. Seller Inventory # G0201379406I3N00

Contact seller

Buy Used

US$ 9.98
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Warmer, Jos and Anneke G. Kleppe
Published by Addison Wesley 01.03.1999., 1999
ISBN 10: 0201379406 ISBN 13: 9780201379402
Used Softcover

Seller: NEPO UG, Rüsselsheim am Main, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Gut. 144 Seiten ex Library Book / aus einer wissenschafltichen Bibliothek / Sprache: Englisch Gewicht in Gramm: 270 22,9 x 18,5 x 1,0 cm, Taschenbuch. Seller Inventory # 388367

Contact seller

Buy Used

US$ 25.91
Convert currency
Shipping: US$ 27.35
From Germany to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket