classDiagrams

classDiagrams - UML Class Diagrams May also contain...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
UML Class Diagrams • May also contain interfaces, objects, packages, relationships • Sometimes called "static structure diagrams" Unified Modeling Language (UML), version 1.5 www.omg.org/technology/documents/formal/uml. htm • Examples taken from UML Reference Manual
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Classes • Every behavior a system provides should be associated with a class • Candidate for classes include domain objects, roles, events, interactions • Denoted by rectangle (or an icon), normally containing three, vertically stacked compartments – Name – Attributes – Operations – (Responsibilities, exceptions)
Background image of page 2
Name Compartment • Stereotype, if any – Extra, meta-model-defined labels – Enclosed by «» (guillemets) • Name – Italics for abstract classes • Properties {in braces} – {abstract}, {leaf}, {root}
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Example Class
Background image of page 4
Attributes • Visibility ( +,-,#,~ ) • Name • [Multiplicity, Ordering] • Type • Initial value • Derivation ( / ) • Properties – Class scope (underlining) – {frozen}, {changeable}, {addOnly}
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Operations • Visibility • Name • Return type • Parameter list – Kind ( in, out, inout ), name, type, default value • Properties – Class scope – {query} – {concurrency=(sequential, guarded, concurrent)} – {abstract} • « signal »
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/11/2010 for the course CS- 6505 taught by Professor Venkat during the Spring '09 term at Georgia Tech.

Page1 / 25

classDiagrams - UML Class Diagrams May also contain...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online