Objects provide interfaces
and require interfaces. The
provided interfaces are the signals (events and triggered operations)
and services (functions) for the object. The required interfaces are
realized through a set of associations and dependencies to other objects
through which the object collaborates with the other objects.
The
following figure shows the object
model diagram from the home heating system ("hhs") sample. It shows
the provided interfaces of two objects:
- theFurnace - reset(), motorReady(), fault(),
and stopHeat()
- theRoom - vacated(), check(), occupied(), Fstopped(),
and Fstarted()
In addition,
it shows the required interfaces of
the two objects through the symmetric association drawn between them.