TypeSelector

Description

A type selector's job is to distinguish between types; types being classes, interfaces, enums and annotation definitions. This page contains type-specific details. Please see the selector page for selector definitions in general which can also comprise a type selector.

Parameters

Attribute Description Required
name identifier, must be unique Yes
criteriaAnded flag to indicate whether all of the criteria nested in this selector must be met. true indicates all must be met, false indicates only one or more must be met. No
stereotype a string which will be appended to the title of matching types in the format <<stereotype>> No
description details about the types which this type selector includes. This description is viewable whenever a type selector is used for type filtering such as selecting classes on a class diagram. No
interfaces flag to indicate whether the type must or must not be an interface. true indicates 'must be an interface, false indicates must not be an interface.  

Examples

<TypeSelector name="allClasses" description="just classes, no interfaces" interfaces="false"/>
Declares a type selector which selects only classes.
<TypeSelector name="allClasses" description="just classes, no interfaces" inerfaces="false"/>
Declares a type selector which selects only classes.

See types criterion for more examples.