These are critics concerning how classes are chosen and
used.
ArgoUML has the following critics in this category.
DataTypes are not full classes within UML 1.4. They can
only have enumeration literals as values, and only support
query operations (that is operations that
do not change the DataType's state).
DataTypes cannot be associated with classes, unless the
DataType is part of a composite (black diamond) aggregation.
Such an association relects the tight binding of a collection
of DataType instances to a class instance. In effect such a
DataType is an attribute of the class with
multiplicity.
Good OOA&D depends on careful choices about which
entities to represent as full objects and which to represent
as attributes of objects.
There are two options to fix this problem.
15.3.2. Reduce Classes in diagram <diagram>
Suggestion to improve readability by having fewer
classes on a diagram. If one class diagram has too many
classes it may become very difficult for humans to
understand. Defining an understandable set of class diagrams
is an important part of your design.
The Wizard of this critic allows setting of the treshold,
i.e. the maximum number of classes
allowed before this critic fires.
![[Caution]](images/caution.png) | Caution |
|---|
This number is not stored persistently, and
there is no way to reduce it after it has been set higher,
except by creating more classes until the critic fires again.
Restarting ArgoUML resets this number to its default: 20.
|
Suggestion that the diagram could be improved by moving
model elements that are overlapping.