CS 2390 - Coad/Nicola Notation

CS 2390 - Coad/Nicola Notation


Coad/Nicola Notation

I've been referring to "Coad/Nicola" notation to mean the notation used by Coad and Nicola in the textbook. It's a fairly widely used notation that was popularized by Coad with other co-authors in earlier books. Another widely used piece of terminology is "object model" to refer to these diagrams.

Don't wing it. But the precise details of the notation are unimportant. Here is what is important:

Generalization/specialization are shown in C/N notation using the branching lines with a semi-circle at the split, and whole/part is shown with the triangle on the connector.

Object connectors (relations that hold in states -- e.g. Student takes Course) join the two object class boxes in question. I usually put a label on the connector, because it helps the reader. C&N don't bother to do that.

You CAN put message connectors on the diagrams (C&N show these as heavy arrows), but I find that they clutter the diagram. Because they're used to show how the objects communicate with each other in different situations, it's easier if you do one of the following:


Return to course homepage