A relationship is a specialized type of class, which defines how two classes related to one another. The example shown below is used for relating an Employee to a Company.
As can be seen below, the relationship is contrainted and will only allow a single Company object to be related to an Employee, though will allow multiple Employee instances to be related to a Company.
Once defined, the relationship can be assigned to the source and target classes.