Descriptions of Entities and Objects - Domains, Attributes and Behaviors
The state of both real-world objects and instances of classes objects are defined
by a set of attributes. Attributes and behaviors are usually defined in
1. A domain is a logical partition of a system. A domain consists
of all of the objects in a logical partition of a system
and the relationships among those objects.
If a bicycle is a system then the domains of a bicycle
might be wheels, frame, brakes, drive system.
2. An attribute is a property such as color, shape, power, age, etc.
Attributes are defined in the context of a domain.
The attributes of a bicycle frame might include material, color,
3. Each attribute has a type and a set of values. (You can think
of attributes as enumerated types with some loss of