APPENDIX B
UML 2.0 Notation Guide
Class Diagram Notation
The Class diagram notation is explained fully in Chapters 5 through 7.
Class notation
Attribute declaration
[visibility] [/] name [:type] [multiplicity] [‘=’default]
[‘{‘property-string’}’]
The optional underline defines a class-level attribute.
- isDerived: The default value is false.
- isReadOnly: The default value is false.
Operation declaration
[visibility] name ([parameter-list]) ‘:’ [return-result]
[‘{‘property-string’}’]
The optional underline defines a class-level attribute.
Tagged value declaration
tagname ‘:’ value
Valid class presentations
Classes may be identified with a name and optional stereotype. The stereotype may be in text or icon form.
Interface class notation
Template class
Parameter syntax
template-parameter ::= parameter-name [ ‘:’ parameter-kind][‘>’ constraint] [‘=’ default] parameter-kind ::= ‘class’ | ‘component’ | ‘type’ | ‘interface’ ...
Get UML™ Bible now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.