✓
- UML Class Diagrams
UML Class Diagrams Steven Zeil February 25, 2013 UML Class - - PowerPoint PPT Presentation
UML Class Diagrams UML Class Diagrams Steven Zeil February 25, 2013 UML Class Diagrams Outline Class Diagrams 1 A Class, in Isolation 2 Attributes Operations Generalization Relationships 3 Associations 4 Naming Your
Class Diagrams
Class Diagrams
Class Diagrams
Class Diagrams
A Class, in Isolation
A Class, in Isolation
A Class, in Isolation
A Class, in Isolation
A Class, in Isolation Attributes
Cell Cell
expression value evaluate the expr()
Cell
expression: Expression value: Value evaluate(SpreadSheet)
Cell
+evaluate(SpreadSheet) +getFormula(): Expression +setFormula(Expression) +getValue(): Value
Conceptual Specification Implementation
A Class, in Isolation Operations
Cell Cell
expression value evaluate the expr()
Cell
expression: Expression value: Value evaluate(SpreadSheet)
Cell
+evaluate(SpreadSheet) +getFormula(): Expression +setFormula(Expression) +getValue(): Value
Conceptual Specification Implementation
Generalization Relationships
Generalization Relationships
Generalization Relationships
Generalization Relationships
Publication
title date of publication get content(): text
Book
isbn
Magazine
volume number
Generalization Relationships
Publication
title date of publication get content(): text
Book
isbn
Magazine
volume number
E-Book
format
HardCopy
pagecount: int
Associations
Associations
Associations
Associations
SpreadSheet Cell Expression Value
Associations
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Naming Your Relationships
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Naming Your Relationships
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Naming Your Relationships
Cell Expression Value
1 formula 1 1 value 1
Cell
value: Value formula: Expression
Associations Naming Your Relationships
Associations Naming Your Relationships
Associations Naming Your Relationships
SpreadSheet Cell Expression Value
SpreadSheet Cell Expression Value
spreadsheet cell expression value cell expression cell value
Associations Multiplicity
Associations Multiplicity
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Navigability
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Navigability
SpreadSheet Cell Expression Value
contains 1 * evaluates to 1 formula 1 1 value 1
Associations Navigability
SpreadSheet Cell Expression Value
SpreadSheet Cell Expression Value
Specialized Associations
Specialized Associations
Specialized Associations
Specialized Associations Aggregation
SpreadSheet Cell Expression Value
* evaluates to formula 1 1
Specialized Associations Aggregation
Specialized Associations Aggregation
Patron
name cardNumber hasCheckedOut: set<Book>
Book
checkedOutTo: Patron
Specialized Associations Aggregation
Patron
name cardNumber
Book
checkedOutTo: Patron 0..1 hasCheckedOut *
Specialized Associations Aggregation
Specialized Associations Aggregation
name cardNumber
checkedOutTo 0..1 hasCheckedOut *
Specialized Associations Composition
Specialized Associations Composition
SpreadSheet Cell Expression Value
0..1 * evaluates to formula 1 1
Clipboard
0..1 *
Specialized Associations Qualification
Cell Expression Value
0..1 0..1 evaluates to formula 1 1
CellName SpreadSheet
Specialized Associations Dependency
Specialized Associations Dependency
Control View Model
Specialized Associations Dependency
Control View Model
Specialized Associations Dependency
Control View Model
Specialized Associations Dependency
Control View Model
Other Class Diagram Elements
Other Class Diagram Elements
Other Class Diagram Elements
Other Class Diagram Elements
+insert(element:T) +contains(element:T): bool :T
Other Class Diagram Elements
set
+insert(element:T) +contains(element:T): bool :T {T must support
Other Class Diagram Elements
<<interface>>
*(): T ++(): iterator
=(iterator) ==(iterator): bool !=(iterator): bool :T
Other Class Diagram Elements
<<interface>>
iterator
*(): T ++(): iterator
=(iterator) ==(iterator): bool !=(iterator): bool :T
Foo* list<T>::iterator
:T
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams
Drawing UML Class Diagrams