3.1. The Building Blocks of UML

There are three types of building blocks: elements, relationships, and diagrams. Elements are the abstractions that are first-class citizens in a model; relationships tie these elements together; and diagrams group collections of related elements by means of relationships.

Elements

There are four kinds of elements in UML:

  • Structural – Used to create the static parts of a model by representing elements that are conceptual or physical

  • Behavioral – Allows you to model the behavior of the system.

  • Grouping – Allows you to organize the structural and behavioral elements in your model

  • Annotational – Explanatory parts of the model

These elements are the basic elements used in creating models.

Structural Elements

There are ...

Get Sun Certified Enterprise Architect for J2EE™ Technology Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.