Professional Documents
Culture Documents
CustomerConsole
Operator
ReceiptPrinter ATM
atmid : Integer
1
1 bankname : String
location : String
1
1 state : String
* * has *
Card Session Transaction
* * 1 *
MaxWithdraw
This section describes the way that the system should The transition between difference states is represented
work. It analyses the system behavior, including as an arrow between states, and a condition of that
sequence and collaboration diagrams, activity diagram, transition occurring may be added between square
and state diagram. braced. This condition is called a guard.
switch on/ ready to serve
PowerOff Idle
Do:sleep Do: wait for service
switch off/ sleep
Active
transaction continued
withdrawal done
enquiry successful
3.2.2. Interaction Diagrams links between the objects is indicated by the number at
the head of the message.
UML defines two types of Interaction Diagram: the Sequence diagram shows the relationship between
Sequence Diagram and the Collaboration Diagram. classes arranged in a time sequence. Within a sequence
Interactions between objects are represented by diagram an object is shown in a box at the top. The
interaction diagrams – both sequence and collaboration sequence diagram of the above UML class model is
diagrams. An example of a collaboration diagram is designed and used for online money transactions. The
shown below. Objects are drawn as rectangles and the communication between two objects represented by an
lines between them indicate links – a link is an instance arrow & the message on that arrow, the vertical lines
of an association. The order of the messages along the show the life of the objects.
: CardReader : ATM : Session : Customer : Transaction
: Customer
Console
Insert Card
card Verification
cardInserted() <<create>>
verifyPIN()
PINVeified()
<<create>>
performTransactions()
continueTransactions()
ejectCard()
cardEjectionMessage()
insertCard()
verifyCard()
cardVerification()
enterPIN()
PINDetails()
verifyPIN()
PINValidation()
ValidationOfPIN()
Object-oriented design is the process of planning a A component diagram in the Unified Modeling
system of interacting objects for the purpose of solving a Language, depicts how components are wired together
software problem. It is one approach to software design. to form larger components and or software systems.
Components diagrams can be used to illustrate the model through Object Oriented language. UML could
structure of arbitrarily complex systems. be adopted for knowledge modeling as well. While
UML in its current state has its limitations, it is an
Bank.java extensible language and thus can be used to support the
knowledge modeling activity through the profiles
mechanism.
:Databa
se serve
5. Conclusions
This article has investigated system requirements, use
case diagrams and the UML model for the ATM
System. Such diagrams were designed to support the
system designers and developers, to help customers in
observing a software system from various perspectives,
and to improve their understanding of cohesion and
abstraction in designing a system or software. The
requirements produced are sufficiently detailed to form
the basis for the development of an information system
using both the practical analysis of use cases and the
conceptual model for UML. The analysis of business
and user needs, system requirements, and use cases are
essential steps for building a system based on Unified
Modeling Language.
From the above work it is concluded that the UML
modeling is a powerful language used to design for the
software research problems. In this article complete
modeling is done for ATM system which is efficient &
useful for the software developer to convert the above