O'Reilly logo

UML™ Bible by Tom Pender

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX A

UML 1.4 Notation Guide

Class Diagram Notation

The Class diagram notation is explained fully in Chapters 5 through 7.

Class notation

images

Figure A-1: Class icon with the default name, attribute, and operation compartments, and a user-defined compartment.

Attribute declaration

[visibility] [/] name [:type] [multiplicity] [‘=’default] [‘{‘property-string’}’]
  • The optional underline defines a class-level attribute.

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.

images

Figure A-2: Four presentation alternatives for classes with stereotypes.

Template class

images

Figure A-3: Template class.

Parameter syntax

name ‘:’ type [= default]

Bound element syntax

template-name ‘<’ value-list ‘>’

Interface class notation

images

Figure A-4: Interface class notation.

Association notation

Associations are covered in Chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required