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 from 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 |