Professional Documents
Culture Documents
DOCUMENTATION PETRODA AMITY UNIVERSITY New
DOCUMENTATION PETRODA AMITY UNIVERSITY New
This dissertation is submitted in partial fulfilment for the requirements for the award of the bachelor’s degree in
computer applications at Amity University
CONTACT INFORMATION
AUTHOR DETAILS:
EMAIL : wilson.chirambo@yahoo.com
SIGNATURE________ ___________23/10/2023______DATE
__________________________________
PROJECT SUPERVISOR:
NAME: ______________________________________________________________________
SIGNATURE________________________ DATE____________________________________
HEAD OF DEPARTMENT
NAME _______________________________________________________________________
Declaration
I Wilson Chirambo hereby declare that this dissertation represents my own work which has been done
after registration for the bachelor’s degree of Computer Applications at Amity University and has not
been previously submitted to this or any other institution for a degree or other qualifications. Where
work that form part of other research papers or any source, proper citation was included. I accept
responsibility for the conduct of the procedures that might be found to be contrary to the provided
guidelines.
Signature__________________________________________________
Date _____________________________________________________
Certificate of Approval
I hereby declare that this dissertation according to my knowledge is the students own work and effort and
it has been acknowledged where other sources of information were used. This dissertation has been
submitted with my approval as a supervisor.
Name of the Supervisor **. ****** *******
Signature of the Supervisor_______________________________________
Dedication
I would like to dedicate this dissertation to my beloved wife Constance, my son watipa, mother and my
sister and my brothers and friends for the support render in conducting this study.
Acknowledgements
First and foremost, I thank the Almighty God for giving me good health and energy to conduct this study. I
sincerely thank my employer for providing me with the flexibility to combine work and school
requirements. I am also grateful for my supervisor for the tremendous support and guidance provided to
perfect this dissertation and lastly all those that assisted in providing me with the necessary information
for this study.
GLOSSARY
Abbreviations Description
API Application Programming Interface
HTML Hyper Mark Up Language
ICT Information and communication Technology
JS JavaScript
MySQL My Structured Query Language
PMS Petroda management system
DB Database
PMS Petroda management system
GUI Graphical user interface
Abstract
The abundant use of Mobile Applications has made them a part and parcel of our lives, be it for personal use,
corporate based task, or entertainment. “Petroda Android Application for corporate and Home Services”, is a
Corporate based mobile application for android users that brings together the client and service providers and
connects them using the house numbers and locations(maps). Clients requested for the home services and based
on the location by fetching the latitude and longitude of the client, the nearest service provider is allotted to serve
the client’s needs. this application has a wide scope for integrating maps to allow drag and drop to another
location and make this application available for other mobile operating systems other than android.
Table of contents
TABLE OF FIGURE…………………………………………………………………………………………………………………………………………
DECLARATION………………………………………………………………………………………………………………………………………………………..
ACKNOWLEDGEMENTS ...................................................................................................................................................
DEDICATION ....................................................................................................................................................................
GROSSARY……………………………………………………………………………………………………………………………………………………………
TABLE OF CONTENTS……………………………………………………………………………………………………………………………………………….
ABSTRACT……………………………………………………………………………………………………………………………………………………………
CHAPTER ONE…………………………………………………………………………………………………………………………………………………
1.0INTRODUCTION…………………………………………………………………………………………………………………………………………….
1.1Background of study………………………………………………………………………………………………………………………………………
1.2Problem Statement………………………………………………………………………………………………………………………………………..
1.3 OBJECTIVES……………………………………………………………………………………………………………………………………………………
1.3.1 Importance of Computerized system in Petroda Management Systems…………………………………………………….
1.3.2 INTRODUCTION TO PETRODA MANAGEMENT SYSTEM………………………………………………………………………………
1.4 JUSTIFICATION……………………………………………………………………………………………………………………………………………..
1.5 SCOPE……………………………………………………………………………………………………………………………………………………………
1.5.1 USER FRIENDLY ENVIRONMENT………………………………………………………………………………………………………………….
1.5.2 MINIMAL TIME CONSUMPTION………………………………………………………………………………………………………………….
1.5.3 MAINTAINING THE DATABASE………………………………………………………………………………………………………………. ….
1.6 System Setup…………………………………………………………………………………………………………………………………………………
1.6.1 Application Implementation……………………………………………………………………………………………………………………….
CHAPTER TWO…………………………………………………………………………………………………………………………………………………….
2.LITERATURE REVIEW………………………………………………………………………………………………………………………………………….
2.1 OVERALL DESCRIPTIONS………………………………………………………………………………………………………………………………….
2.2 PRODUCT PERSPECTIVE……………………………………………………………………………………………………………………………………
2.2.1 USER INTERFACES………………………………………………………………………………………………………………………………………….
2.2.2 SOFTWARE INTERFACE……………………………………………………………………………………………………………………………..……
2.2.3 COMMUNICATIONS INTERFACES…………………………………………………………………………………………………………….…….
2.2.4 MEMORY CONSTRAINTS ………………………………………………………………………………………………………………………..……..
2.3 PRODUCTION FUNCTIONS………………………………………………………………………………………………………………………………..
2.3.1 MAINTAIN DATABASE…………………………………………………………………………………………………………………………………….
2.3.2 PROVIDER REGISTRATION FORMS………………………………………………………………………………………………….………………
2.3.3 TENANTS REPORT GENERATION………………………………………………………………………………………………….…………………
2.3.4 SECURITY MANAGEMENT……………………………………………………………………………………………………………..……………….
2.4 USER CHARACTERISTICS…………………………………………………………………………………………………………………..……………….
2.4.1 MANAGER………………………………………………………………………………………………………………………………………….………….
2.4.2 SERVICE PROVIDER……………………………………………………………………………………………………………………………..…………
2.5 OVERVIEW………………………………………………………………………………………………………………………………………………………..
2.1 CONSTRAINTS…………………………………………………………………………………………………………………………………………………
2.2 ASSUMPTIONS AND DEPENDENCIES ……………………………………………………………………………………………………………..
CHAPTER THREE………………………………………………………………………………………………………………………………………………….
3.1 FEASIBILITY STUDY…………………………………………………………………………………………………………………………………………..
3.1.1 Economic Feasibility…………………………………………………………………………………………………………………………………..
3.1.2 Operational feasibility………………………………………………………………………………………………………………………………..
CHAPTER FOUR…………………………………………………………………………………………………………………………………………………..
4. SPECIFIC REQUIREMENTS……………………………………………………………………………………………………………………………….
4.1 FUNCTIONAL REQUIREMENTS (FR)……………………………………………………………………………………………………………….
4.1.1 FR FOR THE MANAGER …………………………………………………………………………………………………………………
4.1.2 FR FOR THE PROVIDER ………………………………………………………………………………………………………………….
4.1.3 FR FOR THE SYSTEM ADMINISTRATOR…………………………………………………………………………………………….
4.2.1 MAINTAINABILITY ………………………………………………………………………………………………………………………….
4.2.2 USABILITY……………………………………………………………………………………………………………………………………..
4.2.3 SECURITY ……………………………………………………………………………………………………………………………………..
4.2.4 RELIABILITY …………………………………………………………………………………………………………………………………..
TABLE OF FIGURE .......................................................................................................................................................... ix
CHAPTER ONE ................................................................................................................................................................1
1 INTRODUCTION.......................................................................................................................................................... ix
1.1 PETRODA ............................................................................................................... Error! Bookmark not defined.
1.2 OBJECTIVES ......................................................................................................................................................... xi
1.3.1 INTRODUCTION TO PETRODA ..................................................................................................................... xii
1.3.2 CURRENT SYSTEM ....................................................................................................................................... xii
1.3.3 PROBLEMS WITH THE EXISTING SYSTEM ....................................................... Error! Bookmark not defined.
1.4 PROBLEM STATEMENT ......................................................................................... Error! Bookmark not defined.
1.5 JUSTIFICATION ................................................................................................................................................... xii
1.6 Scope ................................................................................................................................................................ xiii
1.6.1 USER FRIENDLY ENVIRONMENT ................................................................................................................ xiii
1.6.2 MINIMAL TIME CONSUMPTION ................................................................................................................ xiii
1.6.3 MAINTAINING THE DATABASE ................................................................................................................... xiii
1.7 OVERVIEW ...........................................................................................................................................................6
CHAPTER TWO ...............................................................................................................................................................3
2. OVERALL DESCRIPTIONS ............................................................................................................................................4
2.1 PRODUCT PERSPECTIVE .......................................................................................................................................4
2.1.1 USER INTERFACES .........................................................................................................................................4
2.1.2 SOFTWARE INTERFACE .................................................................................................................................4
2.1.3 COMMUNICATIONS INTERFACES ..................................................................................................................4
2.1.4 MEMORY CONSTRAINTS ...............................................................................................................................5
2.2 PRODUCTION FUNCTIONS ...................................................................................................................................5
2.2.1 MAINTAIN DATABASE ...................................................................................................................................5
2.2.2 TENANTS REGISTRATION FORMS .................................................................................................................5
2.2.3 REPORT GENERATION ..................................................................................................................................5
2.2.4 SECURITY MANAGEMENT .............................................................................................................................5
2.3 USER CHARACTERISTICS.......................................................................................................................................5
2.3.1 SYSTEM ADMINISTRATOR .............................................................................................................................5
2.3.2 TENANT .........................................................................................................................................................5
2.3.3 PROVIDER .....................................................................................................................................................5
2.4 CONSTRAINTS ......................................................................................................................................................6
CHAPTER THREE .............................................................................................................................................................6
3.0 LITERATURE REVIEW ................................................................................................. Error! Bookmark not defined.
3.1 FEASIBILITY STUDY ...............................................................................................................................................6
3.1.1 Economic Feasibility: ....................................................................................................................................6
3.1.2 Operational feasibility: .................................................................................................................................6
CHAPTER FOUR ..............................................................................................................................................................7
4. SPECIFIC REQUIREMENTS ..........................................................................................................................................7
4.1 FUNCTIONAL REQUIREMENTS (FR) ......................................................................................................................7
4.1.1 FR FOR THE SYSTEM ADMINISTRATOR .........................................................................................................7
4.1.2 FR FOR THE TENANT .....................................................................................................................................8
4.1.3 FR FOR THE PROVIDER ..................................................................................................................................8
4.2 NON FUNCTIONAL REQUIREMENTS ..................................................................................................................9
4.2.1 MAINTAINABILITY .........................................................................................................................................9
4.2.2 USABILITY ..........................................................................................................................................9
4.2.3 SECURITY .......................................................................................................................................................9
4.2.4 RELIABILITY .................................................................................................................................................10
CHAPTER FIVE ..............................................................................................................................................................10
5.0 ENTITY RELATIONSHIP DIAGRAMS (ER) .................................................................................................................10
5.1 What are Entity Relationship Diagrams? ...........................................................................................................10
5.1.1 ENTITY RELATIONSHIP DIAGRAM FOR PETRODA SYSTEM ..........................................................................12
5.2 DATA FLOW DIAGRAMS (DFD) ...........................................................................................................................12
5.2.1 What are Data Flow Diagrams? ..................................................................................................................12
5.3 O level DFD / context diagram ...........................................................................................................................15
5.4 USE CASE DIAGRAMS .........................................................................................................................................15
5.4.1What is a UML Use Case Diagram? ..............................................................................................................15
5.4.2 Basic Use Case Diagram Symbols and Notations ........................................................................................15
5.5 EXTENDED USE CASE DIAGRAM FOR PETRODA .................................................................................................17
5.5.1 SCHEDULE APPOINTMENT ..............................................................................................................................18
5.5.4 PROVIDER & SUGGESTION ............................................................................. Error! Bookmark not defined.
5.5.5 VIEW RECORD ............................................................................................................................................19
5.5.6 FILE REPORTS ..............................................................................................................................................19
5.5.7 MANAGE USER ............................................................................................................................................19
5.6 ACTIVITY DIAGRAMS ..........................................................................................................................................20
5.6.1 What is a UML Activity Diagram? ...............................................................................................................20
5.6.2 Basic Activity Diagram Symbols and Notations ..........................................................................................20
5.7 STATECHART DIAGRAMS ...................................................................................................................................27
5.7.1 What is a UML State Chart Diagram? .........................................................................................................28
5.7.2 Basic State Chart Diagram Symbols and Notations ....................................................................................28
5.8 SEQUENCE DIAGRAM.........................................................................................................................................30
5.8.1 What is a UML Sequence Diagram? ............................................................................................................30
5.8.2 Basic Sequence Diagram Symbols and Notations .......................................................................................30
5.8.3 Add provider ...............................................................................................................................................34
5.8.4Accept provide ................................................................................................ Error! Bookmark not defined.
5.8.5 Provider availability ....................................................................................... Error! Bookmark not defined.
5.8.6 File reports ..................................................................................................... Error! Bookmark not defined.
5.8.7 Give suggestion .............................................................................................. Error! Bookmark not defined.
5.9 COLLABORATION DIAGRAMS.............................................................................................................................34
5.9.1 What is a UML Collaboration Diagram? ......................................................................................................34
5.9.2 Basic Collaboration Diagram Symbols and Notations .................................................................................34
CHAPTER SIX ................................................................................................................................................................39
6.0 Application Implementation ..................................................................................... Error! Bookmark not defined.
6.1 System Setup ........................................................................................................ Error! Bookmark not defined.
6.1.1 SYSTEM WELCOME WINDOW........................................................................ Error! Bookmark not defined.
6.1.2 SYSTEM LOG IN WINDOW ............................................................................. Error! Bookmark not defined.
6.1.3 SYSTEM DASHBOARD ..................................................................................................................................39
6.1.4 Managing Tenants. .....................................................................................................................................40
6.1.5 Managing Service Providers........................................................................................................................40
6.2 Challenges ..........................................................................................................................................................43
CHAPTER SEVEN ...........................................................................................................................................................43
7.0 Conclusion and Recommendations .......................................................................................................................43
7.1 Conclusion .........................................................................................................................................................43
7.2 Recommendations .............................................................................................................................................43
REFERENCES.................................................................................................................................................................43
TABLE OF FIGURE
Figure 1:Use case diagram for Tenant ..........................................................................................................................7
Figure 2:Use Case Diagram for Provider.......................................................................................................................8
Figure 3:Use Case Diagram for System Administrator .................................................................................................8
Figure 6:showing Relationship ERDs ..........................................................................................................................10
Figure 7: Diagram showing for petroda management System ..................................................................................12
Figure 8: Data flow diagram .......................................................................................................................................13
Figure 9:process of data flow ......................................................................................................................................13
Figure 10:Gane and Sarson process Notation ............................................................................................................13
Figure 11:Gane & Sarson Datastore Notations ..........................................................................................................14
Figure 12: data Flow through......................................................................................................................................14
Figure 13:objects outside the system .........................................................................................................................15
Figure 14: level 1 DFD .................................................................................................................................................15
Figure 15: Basic case diagram symbol .........................................................................................................................16
Figure 16:Case diagram for Petroda management ....................................................................................................17
Figure 17: Relationships & action ...............................................................................................................................21
Figure 18:creation & modification object ..................................................................................................................21
Figure 19: Represent decision .....................................................................................................................................22
Figure 20: Synchronization process .............................................................................................................................22
Figure 21: group related activities ...............................................................................................................................23
Figure 22: Activity diagram for Tenant .......................................................................................................................26
Figure 23:System welcome window .............................................................................. Error! Bookmark not defined.
Figure 24:Setting up of the database ............................................................................ Error! Bookmark not defined.
Figure 25: System log in page ......................................................................................... Error! Bookmark not defined.
Figure 26: Application Log In window ............................................................................ Error! Bookmark not defined.
Figure 27: Admin portal ...............................................................................................................................................39
Figure 28: Staff management tab. ..............................................................................................................................40
Figure 29: Registering Tenants ..................................................................................................................................40
Figure 30: Managing Tenants .....................................................................................................................................41
CHAPTER ONE
I. Introduction
1.1Background of the study
Malawi has a vast number of tertiary educations, producing many graduates. These graduates need help in getting
employed. The Malawian government has employment services centers in every district that assist aspirant
workers to obtain employment, today these employment centers are full of people every day. Each one will need
employment. This makes it very difficult for the person at the service center to make it very transparent. There is a
need for a way that gives employment when an opportunity comes to the right person, Chikwawa labour office is
one of the districts with this employment service center. Chikwawa labour offices cater for people of all
capabilities, disabled, general hands, technical college graduates, University graduates, etc. The system at the
center is done manually where the labour office assistant writes details of candidates in books and file them on
local bookshelves these have many irregulates i.e. file getting missing and getting damaged end result it would be
difficult to retrieve old information, generating statistics and reports will be so cumbersome and prone to many
errors. I intend to develop an Android application system that will do the entire recruitment process where
different organizations of individuals can request a service and be approved by the management of the
application.
Since all the information is maintained in the registers, searching for a piece of data from those registers is a time
consuming and hectic task.
All entries are made manually which is of course a lengthy process. This again results in people standing and
waiting for their turns. The main problem with the system is that the same data is being entered in the system
again and again at different places by different people. This might result in the inconsistency of data because the
data is being entered redundantly at many places, and inconsistency of the system can cause serious problems.
The Services are to be properly documented and a proper DB would ensure that the usage of each of the provider
is according to the Tenant who have requested or what the tenant has ordered.
Data updating is a major hurdle in such an environment where there are many people that are to be serviced and
to take care that no record is tempered.
Security provision is a serious issue relating to such a huge organization to make it work efficiently. Records related
to each provider need to be kept safe.
Extracting useful information from the current system is a very difficult task.
A close analysis makes it very certain that the existing system is time consuming. There are greater chances of
inconsistency of data and the frustration of the Tenants. So it can be said that the existing system is not very
reliable and needs to be changed to give the Tenants and the manager and the service provider the higher degree
of satisfaction.
Keeping in view all the problems mentioned above, we hereby propose a new mobile application (petroda) hiring
system, to meet all the requirements of Tenants as well as the providers.
1.3 OBJECTIVES
The objective of this computerized product is to develop an android application system and automate the
PETRODA MANAGEMENT SYSTEM [PMS]. PMS automation refers to use of smartphones and tablets, associated
peripheral media such as Optical media etc. and utilization of API based products and services in the performance
of all type of home services functions and operations. smartphones can introduce a great deal of automation in
operations, functions since they are electronic, programmable and are capable of control over the process being
performed.
The Software Requirement Specification document describes requirements and functionality of the system. This
document follows the IEEE Recommended Practice for Software Requirements Specifications (IEEE Std 830-1998).
The intended addressees for this SRS are project examiners and supervisor.
Requirement Analysis is the first technical step in the software process. A general statement of software scope is
refined into a concrete pattern that becomes the basis for all software engineering activities that follows.
1.3.1 Importance of Computerized system in Petroda Management Systems
The system has been felt to be computerization to make it more relevant and a real life project with minimal
errors. It is therefore important to computerize it because there are many limitations in the manual system, which
is more time consuming with many loopholes and the chance of errors, are apparent. Therefore, a mobile app
system having an organized database cut redundancy and eases data access.
The diligent character of mobile app system makes the system perfect, as it doesn’t suffer from human traits of
tiredness and lack concentration. Thus by computerization this project software provides considerable help to the
user by providing number checks to user so that he may get required feedback about the database. Mobile
application development of this system would be time saving and the efficient handling of the database would
prove to be an indispensable gift to the user in long run.
1.3.2 INTRODUCTION TO PETRODA MANAGEMENT SYSTEM
This document describes the requirement specification for the mobile application development software Petroda
for hiring services. PMS will mainly compose of six Features.
• Manager
• Tenants
• Service
• Provider
• Houses
• Bookings
PETRODA for the trust will be a high-performance database system designed purposely for keeping records of
Tenants, Manager/Admin, services, provider results for each Tenants and Bookings.
Manager section responsible of adding services, providers (e.g., Plumber, Electrician, RAN Engineer). The admin is
also responsible of creating services (a service can be something like House cleaning, plumbing), after creating the
service the admin/manager then assigns the provider to that service (e.g., House cleaning service can be assigned
to a provider cleaner). The Tenants must first register and login to access the app, once logged in the tenants sees
a list of services and choose the one that he/she wants (e.g. selecting a house cleaning service), after select the
service, the list of providers is then presented (providers are people you can actually do the work/service), the
tenants then chooses the provider from the list and book for that particular service and the exact date where the
service/work to be done, after a successful booking, a notification is sent to the provider notifying them that there
is a booking. Providers has the right to accept or reject the request depending on their schedule. if the request is
accepted, the tenant sees that the request has been accept. When the work is done and the tenant is satisfied, the
tenant has to mark the service done just to indicate that the provider has provided the work and its fully done, so
then tenant then proceeds to make a payment.
the manager/admin on the other side sees each and every update of services and he/she is also able to see reports
on the money made for that month, total number of tenants and providers, how many services has been
provides.the manager is also responsible for assign tenants to houses and remove also.
.
.
1.4 JUSTIFICATION
In Petroda mobile app System, presently all provider and staff management operations are being done manually.
Various Books and Registers are maintained for entries about provider and staff enquiry, registration, and fees
submission. Final report preparation is very cumbersome and time consuming, as even for a single Record, several
books have to be referred, in all immediate updating, validation, and reporting is just too large.
This result in unnecessary delay in various operation of organization and could be detrimental to the progress.
1.5 Scope
The PETRODA system is a web application running in all operating systems including mobile devices. The users of
the application are the manager, tenants, service provider and the system administrator. Petroda wants to
automate the whole system and get rid of the manual procedures.
• Report Generation
• Security Management
The targeted project takes in following aspects:
1
new user register page
Tenants/clients page
2
CHAPTER TWO
2.LITERATURE REVIEW
There is a needs for an online mobile application software system whereby it can accommodate the
Tenants(clients) comfortably and avoid any confusion with the service provider(plumber, engineer) regarding their
work. There should be a system where the home services are categorized under different qualifications and the
system helps the management to claim the bills from tenants(clients) and companies.
The mobile app software system should be useful to record Service provider details along with the field of
specialization. It also should record the Tenants details and arrange the appointment of service providers. Should
also provide the management reports like schedules, appointments of service provider. And generate bills
dynamically for the dispatched service provider etc.
The administrative user should create new users and change their passwords. He should be able to add the
service provider information as well as new service provider details. Also, can add information related to service
provider availability and billing information. The administrator/manager can view the management reports.
The service provider can change their own passwords. He can view his own appointments, approve, and decline
requests and information of tenants for any day.
Manager is another person who manages the activities of the system. He can add a new service provider to the list.
He can also add new provider information. He can view the information of Tenants, and provider.
An accountant or manager can add the information related to Tenants and view all the reports. He can view the
details of in provider, out provider and dispatched provider information. He also collects the bill amount from the
tenants and enters it into the system.
convergence of information technology and communication technology has created an environment where we can
access information, get services online from anywhere anytime even at the state of mobility. Such access to
information and online services is possible just by the use of our fingertips through mobile applications. These
mobile applications can be grouped as personal, perishable, transaction oriented, location specific, corporate and
entertainment. Petroda Android Application for Home Services” is a mobile application built for Android users,
which is catered to the requirements of a client who wants to provide domestic home services online by bringing
together the users and service providers. The registered users who is a tenant can demand a service available
through the application and based on the users’ location, the nearest service provider is allotted to cater the
3
Tenant request for service. Locating the Tenant and the service provider is done by using home address and house
number that gives the exact location. The applications’ simple and straight forward interface; instant service;
feature for rating and sending feedback, makes it incredibly useful and relatively easy to use for all Tenants.
• Product Perspective
• Product Functions
• User Characteristics
• Constraints
The project is to provide the Chikwawa labour office, under the supervision of Petroda’s, with a system with the
help of which it can get rid of the manual procedures.
Petroda is a high performance database system designed specifically for keeping records for provider, manger,
results for each Tenants.
2.2.1 USER INTERFACES
User Interfaces are provided so that the user of the system can interact with the system and enter data into the
database. The interfaces that are provided are to get input from the user and save it to the database. These
interfaces will help in report generation
• Web server
• Mysql Database
• PHP Server
4
TCP/IP
2.2.4 MEMORY CONSTRAINTS
➢ PRIMARY MEMORY
Since the application will be hosted on a web server, any computer with any amount of RAM will be able to run
the application.
➢ SECONDARY MEMORY
Since the application will be hosted on a web server, any computer with any amount of HD Space will be able to
run the application.
2.4.1 MANAGER
The Manager will access and update every providers checkup data,bookings, reports.
2.4.2 SERVICE PROVIDER
Providers has the right to accept or reject the request depending on their schedule.
visit schedule
Appointment Scheduling
Enquiry of Tenants
Find History of tenants Enquired
2.4.3 SYSTEM ADMINISTRATOR
System administrator will inspect the overall performance of the system. He will have the rights to grant
permissions.
5
2.5 OVERVIEW
Rest of the document is structured as follows:
• Overall description of the project including product perspective, functions, user characteristics, constraints,
assumptions and dependencies.
• A monthly report of all processes must be generated and sent to the Manager of company.
2.2 ASSUMPTIONS AND DEPENDENCIES
• The daily reports of the processes will be generated by applying queries on the database.
• Database administrator will be responsible for manipulating with the database. He will manage the fields of
the database and make entries in the tables.
CHAPTER THREE
Our software is an affordable Management System software package that caters to small to medium-sized
properties. It effectively manages service provider and staff Records, Registration Process and Staff records. A
reliable answer to tracking availability and property statistics.
6
using a web app and mysql as the back end. A little consideration and training may enable the user to handle this
package.
For Petroda Management System apart from other facts as per operational feasibility is concerned we need to see
to it that the system to be developed should be user-friendly so that staff personnel’s who are not computer
literate find it easy to work with. As the office staff does most of the work, so they might have to be trained.
CHAPTER FOUR
4. SPECIFIC REQUIREMENTS
The use case diagrams and the non-functional requirements of system are as follows.
Manager
view reports
add & remove services
3. VIEW REPORTS
7
In this activity, the manager will see the reports about the provider,tenats s and makes analysis from the
report.
4.1.2 FR FOR THE PROVIDER
view services
and bookings login
accept or reject
requesting
3. LOGIN
The provider will handle the various enquiries about the Tenants s registration.
Administrator
Inspect Performance
add & remove services
8
1. INSPECT PERFORMANCE
The system administrator will be responsible for the overall inspection of the system.
2. ADD AND REMOVE SERVICES
The System Administrator has the rights to grant permissions to the respective users of the system.
the manager/admin on the other side sees each and every update of services and he/she is also able to see reports
on the money made for that month, total number of tenants and providers, how many services has been provides.
the manager is also responsible for assign tenants to houses and remove also.
4.2.3 SECURITY
Security is provided in the system in a way that the different users will not be able to access everything in the
system. The database will not be within everyone s reach.
9
4.2.4 RELIABILITY
The system shall be reliable. If the server crashes, the data will not be lost because a backup will be maintained.
CHAPTER FIVE
Entity
Weak Entity
A weak entity is an entity that must defined by a foreign key relationship with another entity as it cannot be
uniquely identified by its own attributes alone.
Key attribute
A key attribute is the unique, distinguishing characteristic of the entity. For example, an employee's social security
number might be the employee's key attribute.
10
Multivalued attribute
A multivalued attribute can have more than one value. For example, an employee entity can have multiple skill
values.
Derived attribute
A derived attribute is based on another attribute. For example, an employee's monthly salary is based on the
employee's annual salary.
Relationships
Relationships illustrate how two entities share information in the database structure.
Cardinality
Cardinality specifies how many instances of an entity relate to one instance of another entity.
Ordiality is also closely linked to cardinality. While cardinality specifies the occurrences of a relationship, ordinarily
describes the relationship as either mandatory or optional. In other words, cardinality specifies the maximum
number of relationships and ordinarily specifies the absolute minimum number of relationships.
Recursive relationship
In some cases, entities can be self-linked. For example, employees can supervise other employees.
11
5.1.1 ENTITY RELATIONSHIP DIAGRAM FOR PETRODA MANAGEMENT SYSTEM
12
Figure 6: Data flow diagram
Process
A process transforms incoming data flow into outgoing data flow.
Datastore Notations
Datastores are repositories of data in the system. They are sometimes also referred to as files.
13
Yourdon and Coad Datastore Notations
Dataflows are pipelines through which packets of information flow. Label the arrows with the name
of the data that moves through it.
External Entity
External entities are objects outside the system, with which the system communicates. External
entities are sources and destinations of the system's inputs and outputs.
14
Figure 11:objects outside the system
PETRODA MANAGEMENT
SYSSTEM
PMS details
Provider details
Draw your system's boundaries using a rectangle that contains use cases. Place actors outside the system's
boundaries.
15
Figure 13: Basic case diagram symbol
Use Case
Draw use cases using ovals. Label with ovals with verbs that represent the system's functions.
Actors
Actors are the users of a system. When one system is the actor of another system, label the actor
system with the actor stereotype.
Relationships
Illustrate relationships between an actor and a use case with a simple line. For relationships among use cases, use
arrows labeled either "uses" or "extends." A "uses" relationship indicates that one use case is needed by another
in order to perform a task. An "extends" relationship indicates alternative options under a certain use case.
16
5.5 EXTENDED USE CASE DIAGRAM FOR PETRODA MANAGEMENT
provider
add & remove
services
Tenants
Manage user
view services
Manager and bookings
17
5.5.1 SCHEDULE APPOINTMENT
view schedule
Schedule Appointment
(from PMS)
Provider
(from PMS)
<<extend>>
<<include >>
( )
Dispatch provider
( )
Service provider
Close task (from Pms)
(from HMS )
(from classes)
18
5.5.5 VIEW PROVIDER RECORD
view operation report
(from lasses )
view designation
Admin ( )
( )
view report
)
File reports
File daily reports
(from PMS )
(from tenats )
Provide
r
(From PMS )
19
create user
(from classes )
suspend user
(from classes )
Manage User
(from HMS )
update user
(from classes)
Action Flow
Action flow arrows illustrate the relationships among action states.
20
Figure 15: Relationships & action
Object Flow
Object flow refers to the creation and modification of objects by activities. An object flow arrow from an action to
an object means that the action creates or influences the object. An object flow arrow from an object to an action
indicates that the action state uses the object.
Initial State
Final State
An arrow pointing to a filled circle nested inside another circle represents the final action state.
Branching
21
A diamond represents a decision with alternate paths. The outgoing alternates should be labeled
with a condition or guard expression. You can also label one of the paths "else."
Synchronization
A synchronization bar helps illustrate parallel transitions. Synchronization is also called forking and
joining.
Swim lanes
Swim lanes group related activities into one column.
22
Figure 19: group related activities
23
L o g in
v ie w / a d d
provid er s d e t a ils
v e
v ie w / a d d
tenant d e t a i ls
s
v ie w / a d d
a p p o in tm e n t s
d e t a ils
v ie w / a d d
Houses s
d e t a ils
v ie w / a d d
Manager r
d e t a il s
v ie w / a d d
Payment
s d e t a il s
v ie w
r e p o rts
24
Lo gin
V ie w
d c r d et ails
V ie w
pa tie nt s de ta ils
V iew /a dd
app oint men t
det a ils
V ie w
d isc ha rge
det a ils
V ie w
r ep orts
V ie w
r ep orts
25
L o g in
V i e w /a d d
d o c to r s d e t a i l s
V ie w
p a ti e n t s d e ta i l s
V ie w
a p p o in t m e n t
d e t a il s
V i e w /a d d
ro o m
d e t a il s
V ie w
d i s c h a rg e
V ie w
in s u ra n ce
V ie w
r e p o rt s
26
Activity diagram for Accountant:
Lo gin
V ie w
pa tie nts de ta ils
V ie w
d isc ha rge
V iew / ad d
in su ran ce
V ie w
r ep orts
27
5.7.1 What is a UML State Chart Diagram?
A state chart diagram shows the behavior of classes in response to external stimuli. This diagram models the
dynamic flow of control from state to state within a system.
Transition
A solid arrow represents the path between different states of an object. Label the transition with the
event that triggered it and the action that results from it.
Initial State
A filled circle followed by an arrow represents the object's initial state. Learn how
to rotate objects.
Final State
An arrow pointing to a filled circle nested inside another circle represents the object's final state.
A short heavy bar with two transitions entering it represents a synchronization of control. A short
heavy bar with two transitions leaving it represents a splitting of control that creates multiple states.
28
TENANT:
PROVIDER:
gives appointment
gives bill
MANAGER:
29
Check for available Task
Assign provider.
Dispatch provider
Class roles
Class roles describe the way an object will behave in context. Use the UML object symbol to illustrate
class roles, but don't list object attributes.
Activation
30
Messages
Messages are arrows that represent communication between objects. Use half-arrowed lines to
represent asynchronous messages. Asynchronous messages are sent from an object that will not
wait for a response from the receiver before continuing its tasks.
Lifelines
Lifelines are vertical dashed lines that indicate the object's presence over time.
31
Destroying Objects
Objects can be terminated early using an arrow labeled "<< destroy >>" that points to an X.
Loops
A repetition or loop within a sequence diagram is depicted as a rectangle. Place the condition for
exiting the loop at the bottom left corner in square brackets [
32
: schedule : appointment
: Tenants
view schedule
Provider schedule
enter appointment
conformation of appointment
33
5.8.3 APPROVE TASK
register ( )
details
(House details )
details
Approve Task
conform admit
Tenant id
Class roles describe how objects behave. Use the UML object symbol to illustrate class roles, but
don't list object attributes.
Association roles
Association roles describe how an association will behave given a particular situation. You can draw
association roles using simple lines labeled with stereotypes.
34
Messages
Unlike sequence diagrams, collaboration diagrams do not have an explicit way to denote time and
instead number messages in order of execution. Sequence numbering can become nested using the
Dewey decimal system. For example, nested messages under the first message are labeled 1.1, 1.2,
1.3, and so on. The a condition for a message is usually placed in square brackets immediately
following the sequence number. Use a * after the sequence number to indicate a loop.
CLASS DIAGRAM
What is a UML Class Diagram?
Class diagrams are the backbone of almost every object-oriented method including UML. They
describe the static structure of a system.
Classes represent an abstraction of entities with common characteristics. Associations represent the
relationships between classes.
Illustrate classes with rectangles divided into compartments. Place the name of the class in the first
partition (centered, bolded, and capitalized), list the attributes in the second partition, and write
operations into the third.
Active Class
35
Active classes initiate and control the flow of activity, while passive classes store data and serve
other classes. Illustrate active classes with a thicker border.
Visibility
Use visibility markers to signify who can access the information contained within a class. Private
visibility hides information from anything outside the class partition. Public visibility allows all other
classes to view the marked information. Protected visibility allows child classes to access information
they inherited from a parent class. Learn how to edit text.
Associations
Associations represent static relationships between classes. Place association names above, on, or
below the association line. Use a filled arrow to indicate the direction of the relationship. Place roles
near the end of an association. Roles represent the way the two classes see each other.
Note: It's uncommon to name both the association and the class roles.
Multiplicity (Cardinality)
Place multiplicity notations near the ends of an association. These symbols indicate the number of
instances of one class linked to one instance of the other class. For example, one company will have
one or more employees, but each employee works for one company only.
36
Constraint
Simple Constraint
Composition and Aggregation
Composition is a special type of aggregation that denotes a strong ownership between Class A, the
whole, and Class B, its part. Illustrate composition with a filled diamond. Use a hollow diamond to
represent a simple aggregation relationship, in which the "whole" class plays a more important role
than the "part" class, but the two classes are not dependent on each other. The diamond end in both
a composition and aggregation relationship points toward the "whole" class or the aggregate.
37
Generalization
Generalization is another name for inheritance or an "is a" relationship. It refers to a relationship
between two classes where one class is a specialized version of another. For example, VIZTS is a type
of car. So the class VIZTS would have a generalization relationship with the class car.
In real life coding examples, the difference between inheritance and aggregation can be confusing. If
you have an aggregation relationship, the aggregate (the whole) can access only the PUBLIC
functions of the part class. On the other hand, inheritance allows the inheriting class to access both
the PUBLIC and PROTECTED functions of the superclass.
38
CHAPTER SIX
SYSTEM DASHBOARD
After successful login, the admin portal will look like the caption bellow. The administrator/manger has all
privileges in the system. The admin/manger will add Providers, houses, manage bookings and handle reports.
39
6.1.4 Managing Service.
To add Service, click service management tab on the bottom sidebar.
The list of all the services that have been added is shown on the table window, the admin/manager can update
data for the services or delete it. The plus symbol on the top left conner is for adding service data and the close bin
symbol is for deleting data. the service will be given login in permissions by the admin/manager.
6.1.5 Managing Providers
New provider records can be added by clicking on provider tab on the right bottom sidebar. the system has
categorized providers based on skill and qualification. the provider window has Data entry section for the
manager.
40
The patient list section has two tabs namely, All service, and provider information.
All service tab displays all the types of services being offered in the system in the form of a table. The Tenant can
search or filter data in the table.
41
you can enter data for the house like, house number, address, city and country
6.1.8 Tenanst
42
Figure 25: This dealing with Tenants
6.2 Challenges
There are many challenges I have faced when developing this API system . some of the challenges include Internet
connectivity to download some JQuery libraries, and lack of programming experience.
CHAPTER SEVEN
7.0 Conclusion and Recommendations
7.1 Conclusion
Domestic Android Application for corporate and Home Services” is a customized Mobile Application which uses the
state-of-the-art technologies like Android SDK (Software Development Kit), Eclipse, Java and MySQL used for
Android Application Development. This application provides domestic home services where users can be served
for electrical services, plumbing services, and carpentry services. Unlike the existing “Facility Kart” application, this
application uses house numbers to fetch the users’ location and assigns nearest service provider from his existing
location dynamically. Thus, this application seems to be more dynamic, effective, and efficient than the existing
system.
Recommendations
This application can be further enhanced by allowing the users of the application to drag and drop to another
location on the maps. This facility can be used by the user in case if the user wants the service request to be
accomplished at another location than his current location. For this there is a need to integrate the maps into this
application. Another useful enhancement can be made by providing more service types to the user. Lastly, since
this application is built only for Android users, this application can also be implemented for other platform like iOS
and Windows.
REFERENCES
[3] Simon Bennett, Steve McRobb and Ray Farmer, Object Oriented Systems Analysis and Design using UML ,
2/E, Mc Graw Hill, pp.134 144 (2001)
43