A classifier is a classification of instances -- it describes a set of instances that have features in common.
Description
A classifier is a namespace whose members can include features. Classifier is an abstract metaclass.
Attributes
No additional attributes.
Associations
/ feature : Feature [*]           Specifies each feature defined in the classifier. Subsets Namespace::member. This is a derived union.
[1] The query allFeatures() gives all of the features in the namespace of the classifier. In general, through mechanisms such as inheritance, this will be a larger set than feature.
Classifier::allFeatures(): Set(Feature);ConstraintsallFeatures = member->select(oclIsKindOf(Feature))
No additional constraints.
Semantics
A classifier is a classification of instances according to their features.
Notation
The default notation for a classifier is a solid-outline rectangle containing the classifier's name, and optionally with compartments separated by horizontal lines containing features or other members of the classifier. The specific type of classifier can be shown in guillemets above the name. Some specializations of Classifier have their own distinct notations.
Presentation Options
Any compartment may be suppressed. A separator line is not drawn for a suppressed compartment. If a compartment is suppressed, no inference can be drawn about the presence or absence of elements in it. Compartment names can be used to remove ambiguity, if necessary.