Classifier is an abstract UML metaclass to support classification of instances according to their
features. Classifier describes a set of instances that have
common features. A
feature declares a structural (properties) or behavioral (operations) characteristic of instances of classifiers.
More formally, in UML 2.2
Classifier is (extends):
- Namespace
- Type
- Redefinable Element
Namespace is an element in a model that can own (contain) other named elements. As a
Namespace, classifier can have
features.
Type represents a set of values. A typed element that has this type is constrained to represent values within this set. As a
Type, classifier can own
generalizations, thereby making it possible to define generalization relationships to other classifiers.
Redefinable Element is an element that, when defined in the context of a classifier, can be redefined more specifically or differently in the context of another classifier that specializes (directly or indirectly) the context classifier. As a
Redefinable Element, it is possible for classifier to redefine nested classifiers.
Some
examples (
subclasses) of
Classifiers in
UML 2.2 are:
- Class
- Interface
- Association
- DataType
- Actor (subclass of Behaviored Classifier)
- Use Case (subclass of Behaviored Classifier)
- Artifact
- Component (subclass of Class)
- Signal