
Defining classes
Default stereotypes You can declare a class to be one of the following stereotypes:
Stereotype
actor
enumeration
exception
implementationClass
Description
Coherent set of roles that users of use cases play when interacting with the use cases
List of named values used as the range of a particular attribute type
Exception class. Used mostly in relation to error messages
Class whose instances are statically typed, and that defines the physical data structure and methods of a class as implemented in traditional programming languages
process
signal
thread
Heavyweight flow that can execute concurrently with other processes
Specification of an asynchronous stimulus communicated between instances
Lightweight flow that can execute concurrently with other threads within the same process. Usually executes inside the address space of an enclosing process
type
utility
Abstract class used only to specify the structure and behavior of a set of objects, not the implementation
Class that has no instances
Type
You can declare a class to be one of the following types:
♦Business Object
♦Class
♦Storage
♦Utility
♦Visual Object
♦JavaBean
20