A domain model = domain classes + domain relationships.
Several terms refer to the parts of a domain model, as shown in the following illustration. For more information about this domain model, see Overview of Library.dsl.
A Domain Model

The diagram illustrates the following terms:
-
The domain model (everything inside the dotted line).
-
A domain class.
-
Another domain class.
-
The domain relationship between the two classes.
-
A multiplicity indicator (*). (In this domain model, a library can have many members.)
-
Another multiplicity indicator (1). (In this domain model, each person can be a member of only one library.)
-
A source role.
-
A target role.
This domain model defines a Library domain class, a Person domain class, and a relationship between them. The relationship is called LibraryHasMembers, and it shows that one library can be associated with any number of people.