The ORM (Object-Relationship Model) is the "static" part of OSA. That is, the ORM describes the "database" of a model: what objects may exist, what object sets they belong to, and what relationships exist between objects.
An ORM diagram is composed of several components which are described below.
An object is any unique person, place, or thing, either physical or conceptual. It is represented by a black dot.
Every object is inherently unique. For example, an object can have more than one name, and the same name may be used for more than one object. (See synonyms and homonyms.)
Formally, every object is a constant singleton object set.
Objects with common properties can be grouped into sets called object sets. An object set is represented by a rectangle containing the name of the object set.
Unlike most object-oriented languages, object sets in OSA are sets. Thus, an object may join or leave an object set.
Lexical Object Sets
A lexical object set is an object set in which each member has a one-to-one mapping with its representation. It is represented by a dashed rectangle containing the name of the set.
Relational Object Sets
A relational object set is an object set whose members are relationships. It is represented by a rectangle containing a relationship set.
High-Level Object Sets
A high-level object set is an object set that contains other object sets, relationship sets, constraints, and notes. It has an exploded and an imploded representation.
A relationship is a statement of some connection between objects. It is represented by a line connecting the objects, labeled with the relationship name.
Relationships can have arbitrary arity. That is, a relationship can occur between two, three, four, or more objects simultaneously.
Relationships between objects in object sets can be grouped into relationship sets. A relationship set is represented by a line connecting the object sets, labeled with the relationship set name.
Special Relationship Sets
The following types of relationships can all be represented by normal relationship sets, but they occur often enough that short hand notations or "templates" are defined for them:
High-Level Relationship Sets
A high-level relationship set is a relationship set that contains other relationship sets, object sets, constraints, and notes. It has an exploded and an imploded representation.
Constraints can be imposed on various parts of an ORM diagram. OSA includes several types of constraints.
Object Set Cardinality Constraints
The number of objects in an object set can be constrained by object-set cardinality constraints (also called simply cardinality constraints).
A participation constraint determines how many times each object in an object set can participate in a given relationship set.
We use co-occurrence constraints in relationship sets with arity of three or more. They specify how many different objects can appear with a given object or group of objects in a relationship set.
Specialization constraints qualify the relationship between a generalization and its specializations. A specialization constraint can be a union constraint, a mutual exclusion constraint, a partition or an intersection constraint.
A general constraint expresses constraints which are not otherwise expressible. General constraints are often written in English, but they can be expressed in more formal terms.
A note is information which may prove helpful to people reading an ORM diagram. Semantically, it has no significance.