learning UML (Unified Modeling Language) for free
learning UML (Unified Modeling Language) for free
Story:
yWhat UML is
for
ySome of the
main diagrams are and what you use them for
xClass
diagrams and class forms
xUse Case
Diagrams
xSequence
(Event) Diagram
xState
Diagrams
zDeveloped by the “Three
Amigos”: Grady Booch, Jim Rumbaugh, Ivar Jacobson
yEach had
their own development methodology
yMore or less
emphasis on notation and process
zUML is a notation and a
process
yDiagrams and
notation from UML 1.3 Definition
Diagrams
zClass diagrams:
Represents static structure
zUse case diagrams:
Sequence of actions a system performs to yield an observable result to an actor
zSequence diagrams:Shows how groups of objects
interact in some behavior
zState diagrams:
Describes behavior of system by describing states of an object
Class
Diagrams
zBetter name: “Static
structure diagram”
yDoesn’t
describe temporal aspects
yDoesn’t
describe individual objects: Only the overall structure of the system
zThere are “object
diagrams” where the boxes represent instances
yBut rarely
used—other diagrams serve the role of describing object interaction better
yWhen used,
object diagrams describe static structure, like a data structure
Notation
in Class Boxes
zAbstract classes (and
operations) in italics
z+ is public, - is
private, # is protected
zCan also specify
stereotypes or compartments
y“constructors”
or “query”
y“controller”....
0 commentaires: