From the following problem statement, identify the domain classes
An automated teller machine (ATM) lets customers to withdraw cash anytime from
anywhere without requiring involvement of any banking clerk or representative. Customer must insert his ATM card
into he machine and authenticate himself by typing in his personal identification number (PIN). He cannot avail
any of the facilities if the PIN entered is wrong. Authenticated customers can also change their PIN.
They can deposit cash to their account with the bank. Also they can transfer funds to any other account.
The ATM also provides options to the user to pay electricity or phone bill. Everyday morning the stock of cash
in the ATM machine is replenished by a representative from the bank.
Also, if the machine stops working, then it is fixed by a maintenance guy.
Identifying Domain Classes from the Problem Statements
Step
We will follow the steps given below to identify domain classes from a given problem statement
Mark the nouns and noun phrases -- this gives
a list of all potential objects.
Categorize the above discovered objects
Group the objects based on their common attributes
Give name to each such group -- they form the classes
An automated teller machine (ATM) lets customers to withdraw cash anytime from
anywhere without requiring involvement of any banking clerk or representative. Customer must insert his ATM card
into he machine and authenticate himself by typing in his personal identification number (PIN). He cannot avail
any of the facilities if the PIN entered is wrong. Authenticated customers can also change their PIN.
They can deposit cash to their account with the bank. Also they can transfer funds to any other account.
The ATM also provides options to the user to pay electricity or phone bill. Everyday morning the stock of cash
in the ATM machine is replenished by a representative from the bank.
Also, if the machine stops working, then it is fixed by a maintenance guy.
The classification into different categories will be made as per the list given by
Ross (see in theory section).
List of objects identified:
Automated teller machine
Customers
Cash
Banking
Representative
ATM Card
Machine
PIN
Account
Bank
Everyday
Morning
Maintenance guy
People
Customer
Maintenance guy
Representaive
Banking clerk
Things
Automated teller machine
ATM card
Machine
Cash
Organization
Bank
Events
Everyday
Morning
Concepts
Account
PIN
All the porential objects have been categorized.
People
Customers
Human
Uses the system to get some service
Banking clerk
Representaive
Maintenance guy
Human
Works for the banking organization
Class: Customer
Class: Employee
Things
Automated teller machine
Machine
Machines either operated manually or automatically
ATM card
Can be used for making payments instead of cash
Cash
Printed money
Class: Machine, ATM Machine
Class: ATM Card
Class: Cash
Organization
Bank
Has name, branch
Managed by manager
Keeps deposit of money, lends money
Class: Bank
Event
Everyday
Morning
Denotes specific time or time duration
Class: Time
Concepts
PIN
A number for identification
Account
Has an account number, holders name
Has some finite balance at any given time
Class: PIN
Class: Account
All possible groups have been formed.
The top level classes formed are shown next.
Customer
Employee
ATM Machine
Machine
Cash
Bank
Account
PIN
Time
These are the top level classesthat we identify from the given
problem statement.
Note that there are possibly some redundant classes. Also, no relations among
classes have been represented.