Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
6 (Kit Media)
SITI ZIANAH BINTI ABDUL RAZAK
D20171076761
GROUP D
Define object
CLICK TO
Explain how
SEE SUMMARY
modeling
terms and Explain
object-
concepts, relationships
oriented
including among
analysis can
objects, objects and
be used to
attributes, the concept
describe an
methods,
Explain the of
information
messages, inheritance
system Describe advantages
classes, and
Unified of using
Modeling instances
CASE tools in
Language developing
(UML) the object
model
Object-oriented analysis?
• a popular approach that sees a system from the
viewpoint of the objects themselves as they
function and interact
• Object-Oriented Terms and Concepts
• Unified Modeling Language (UML)
• Attributes
• Methods
• Message
• Class
• Instance
Define object modeling terms and concepts?
The message
GOOD DOG,
when directed
to the DOG
object, signals
it to wag its
tail.
Similarly, the
DINNER’S
READY message
signals the DOG
METHODS
A systems analyst
describes the operation
as a method called MORE
FRIES
MESSAGES
CLASSES
Notice that all four
subclasses share common
traits of the VEHICLE
class, such as make,
model, year, weight, and
color.
• Relationships ?
• Enable objects to communicate and interact as they perform business
functions and transactions required by the system.
• Describe what objects need to know about each other, how objects respond to
changes in other objects, and the effects of membership in classes,
superclasses, and subclasses
• Some relationships are stronger than others (a relationship between
family members is stronger than one between casual acquaintances).
• The strongest relationship is called inheritance.
• Inheritance enables an object, called a child, to derive one or more of
its attributes from another object, called a parent
Because
An inheritanceall employees
relationship exists
between the INSTRUCTOR and EMPLOYEE
share
objects. Thecertain
INSTRUCTOR attributes,
(child) object
those attributes
inherits characteristics from the are
EMPLOYEE (parent) class and can have
assumed through
additional attributes of its own
inheritance and do not
need to be repeated in the
INSTRUCTOR object.
Describe Unified Modeling Language (UML)
• UML
• The UML uses a set of symbols to represent graphically the various
components and relationships within a system
• It mainly is used to support object-oriented systems analysis and to develop
object models.
• Lines show
relationships
between classes and
Sequence Diagrams
CLASSES
• A class is identified by a rectangle
with the name inside.
• Classes that send or receive
messages are shown at the top of
the sequence diagram
LIFELINES
• A lifeline is identified by a dashed
line.
• The lifeline represents the time
during which the object above it is
able to interact with the other
objects in the use case.
• An X marks the end of the lifeline.
MESSAGES
• A message is identified by a line
State Transition Diagrams
• A State Transition Diagrams shows how an object
changes from one state to another, depending on
Aevents thatcould
bank account affect as a NEW In a state transition
the object
be opened
account, change to an ACTIVE or EXISTING diagram, the states
account, and eventually become a CLOSED appear as rounded
or FORMER account. rectangles with the state
Another possible state for a bank account names inside.
could be FROZEN, if the account’s assets are The small circle to the
legally attached. left is the initial state, or
the point where the
object first interacts with
the system.
Reading from left to
right, the lines show
Activity Diagrams
• An Activity diagram resembles a horizontal
flowchart that shows the actions and events as
they occur.
The
• Activity customer
diagrams show the order in which the
initiates the
actions take place and identify the outcomes.
activity by
inserting an ATM
card and
requesting cash.
Activity diagrams
Explain the advantages of using CASE tools in developing the
object model