Skip to Content
Requirements Modelling and Specification for Service Oriented Architecture
book

Requirements Modelling and Specification for Service Oriented Architecture

by Ian Graham
December 2008
Beginner
320 pages
8h 52m
English
Wiley
Content preview from Requirements Modelling and Specification for Service Oriented Architecture

7.9. Associations, Rules and Encapsulation

I have already stated that cyclic associations in the ontology type model imply the presence of latent business rules.

In my formalism, as we have seen, objects encapsulate rulesets along with the usual attributes and methods. In this section we examine the notion of associations and their 'inverses' in some depth and point out some inconsistencies in current terminology within the database community that go back as far as Abrial's work. With the new foundation I then construct, I show how referential integrity rules can be embedded in types rather than attached to external associations, as is the current normal practice. I prove that, to maintain the principle of encapsulation and to represent the integrity of relationships, components must have rulesets; they are not an optional extra. The material is a little technical compared to the remainder of the chapter and the reader may skip it at a first reading.

I think that associations should point in one direction only because to do otherwise violates the principle of encapsulation. Several object-oriented methodologists have argued against my position, saying that you can always add link attributes to an association and create from it an association object type. However, this new object type must retain links to its progenitors. Therefore, if we accept this as a solution, these new relationships must in turn give rise to new association object types. At some point we must stop this process ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building iPhone and iPad Electronic Projects

Building iPhone and iPad Electronic Projects

Mike Westerfield
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
Are You an Authentic Leader or an Authentic Jerk?

Are You an Authentic Leader or an Authentic Jerk?

Hannes Leroy, Michael A. Daniels, Kristin L. Cullen-Lester, Alexandra Gerbasi

Publisher Resources

ISBN: 9780470775639Purchase book