iAnywhere Water System User Manual

Chapter 2 Building an Object-Oriented Model
17
Defining classes
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 usually implements one or more interfaces.
Classes are the main building blocks of an OOM. Classes, and the
relationships that you create between them, form the basic structure of an
OOM. Typically, classes represent either real, abstract or conceptual things
that together make a whole or a part of a particular problem or system.
The following example shows the class Printer with its attributes and
operations.