Stereotype Category | Description |
---|---|
Accessors | Read access to the state of the object, both direct and derived |
Mutators | Write access to the state of the object |
Creational Methods | Create and manage the lifetime of objects |
Collaborational Methods | Work with objects of other classes |
Degenerate Methods | No access or changes to state |
Stereotype | Description |
---|---|
get | Returns the value of a data member |
predicate | Returns a Boolean result computed from data members |
property | Returns information based on data member values |
void-accessor | Returns information about data members through a parameter |
Stereotype | Description |
---|---|
set | changes the value of a data member |
command | executes a complex change of the object’s state |
non-void-command | command which returns a value |
Stereotype | Description |
---|---|
collaborator | Works on objects of classes different from itself |
controller | Works only on objects of classes other than itself |
Stereotype | Example/Description |
---|---|
constructor | |
copy-constructor | |
destructor | |
factory | Object creation method |
Stereotype | Description |
---|---|
incidental | Does not read/change the object state, and no calls to other methods of the same class |
stateless | Does not read/modify the object state with one call to other methods of the same class |
empty | Method with no statements |