Chapter 4 Review
Chapter 4 Review
Object-Oriented Concepts
o Objects: Persons, places, or things that
are relevant to the system being
analyzed.
o May be customers, items, orders, and so
on.
o May be GUI displays or text areas on a
display.
Relationships
o Structural relationships: Tie things
together in structural diagrams
o Dependencies, Aggregations,
Associations, Generalizations
o Behavioral relationships: Used in Use Case Modeling
behavioral diagrams o Describes what the system does, without
o Communicates, Includes, Extends, describing how the system does it
Generalizes o Based on the interactions and
relationships of individual use cases
Diagrams o Use case describes Actor, Event, Use
o Structural diagrams: Used to describe case
the relation between classes
o Class diagrams, Object diagrams,
Component diagrams, Deployment
diagrams
o Behavior diagrams: Used to describe the
interaction between people (actors) and
a use case (how the actors use the
system)
o Use case diagrams, Sequence diagrams,
Collaboration diagrams, Statechart
diagrams, Activity diagrams
Activity Diagrams
o Show the sequence of activities in a
o Activity diagrams may be used to
process, including sequential and
construct test plans.
parallel activities, and decisions that are
o Each event must be tested to see if the
made.
system goes to the next state.
o Symbols: Rectangle with rounded ends,
o Each decision must be tested.
Arrow, Diamond, Long, flat rectangle,
Filled-in circle, Black circle surrounded
Activity Diagrams Not Created for All Use
by a white circle, Swimlanes
Cases
o Use an activity diagram when:
o It helps to understand the activities of a
use case
o The flow of control is complex
o
Types of Classes
o Entity classes
o Interface classes
o Abstract classes
o Control classes
Entity Classes
o Represent real-world items
o The entities represented on an entity-
relationship diagram
Communication Diagram
o Describes the interactions of two or Interface or Boundary Classes
more things in the system that perform a o Provide a means for users to work with
behavior that is more than any one of the the system.
things can do alone o Human interfaces may be a display,
o Shows the same information as a window, Web form, dialogue box, touch-
sequence diagram, but may be more tone telephone, or other way for users to
difficult to read interact with the system.
o Emphasizes the organization of objects o System interfaces involve sending data
o Made up of objects, communication to or receiving data from others.
links, and the messages that can be
passed along those links
o Communication diagrams show the
same information that is depicted in a
sequence diagram but emphasize the Abstract Classes
organization of objects rather than the o Linked to concrete classes in a
time ordering. generalization/specialization
relationship
o Cannot be directly instantiated
o CRC cards
o UML diagrams
o Activity diagrams
o Sequence diagrams
o Communication diagrams
o Class diagrams
o Statechart diagrams
o Using UML