Classes (OOM)

A class is a description of a set of objects that have a similar structure and behavior, and share the same attributes, operations, relationships, and semantics.

A class can be created in the following diagrams:

The structure of a class is described by its attributes and associations, and its behavior is described by its operations.

Classes, and the relationships that you create between them, form the basic structure of an OOM. A class defines a concept within the application being modeled, such as:

The following example shows the class Aircraft with its attributes (range and length) and operation (startengines).