Changing a class into an instance

You can change a class into an instance in an object model diagram by selecting the Instance tab in the Features window.

About this task

If the class represents an instance, select the This box is also an instance check box. This selection is equivalent to giving the class an instance name in the object model diagram. If this box is checked, the following fields become active:

  • Instance Name specifies the name of the instance.
  • Multiplicity specifies the number (or range) of times to instantiate the class.

    The multiplicity indicates the number of instances that can participate at either end of a relation. Multiplicity can be shown in terms of a fixed number, a range, or an asterisk (*), meaning any number of instances including zero.