SlideShare ist ein Scribd-Unternehmen logo
1 von 38
By Nadia Nahar 
11/18/2014 1
• Component Level Design 
– Library Circulation System 
• Designing Conventional Component 
11/18/2014 2
11/18/2014 3
11/18/2014 4
User 
user_type 
user_name 
password 
user_status 
e-mail 
authenticate() 
search() 
renew() 
booking() 
Administrator 
user_name 
password 
e-mail 
configure() 
authenticate() 
Librarian 
user_name 
password 
e-mail 
issue() 
retrieve() 
add() 
edit() 
delete() 
Report 
report_no 
intended_user 
date 
report_type 
notifyUser() 
blockUser() 
Item 
item_type 
call_number 
item_status 
assigned_user 
issueItem() 
retrieveItem() 
itemAvailability() 
Fine 
fine_type 
fine_amount 
assigned_user 
assigned_item 
fine_rate 
borrowing_duration 
generateReport() 
updateUser() 
calculateFineAmount() 
11/18/2014 5
11/18/2014 6
DAO 
insert() 
update() 
delete() 
select() 
GUI 
menu_items 
theme 
elements 
update() 
link() 
DB Connect 
connectionString 
databaseName 
databaseUser 
Password 
databaseType 
connect() 
11/18/2014 7
11/18/2014 8
issue 
retreive 
Librarian 
user_name 
password 
e-mail 
selectUser() 
checkUserStatus() 
selectItem() 
checkItemStatus() 
show() 
updateItem() 
updateUser() 
selectUser() 
checkFine() 
selectItem() 
updateItem() 
updateUser() 
add() 
edit() 
delete() 
DAIsOsue 
selectUser() 
checkUserStatus() 
selectItem() 
checkItemStatus() 
show() 
updateItem() 
updateUser() 
DAROetreive 
selectUser() 
checkFine() 
selectItem() 
updateItem() 
updateUser() 
Librarian 
user_name 
password 
e-mail 
issue() 
retrieve() 
add() 
edit() 
delete() 
11/18/2014 9
calculateFine 
generateReport 
Fine 
fine_type 
general_fine 
special_fine 
destruction_fine 
fine_amount 
assigned_user 
General 
Special 
assigned_item 
Available 
Unavailable 
fine_rate 
borrowing_duration 
getDuration() 
getItemType() 
getRate() 
calculate() 
getNotification() 
calculateFineAmount() 
getUser() 
acquireEmailAddress() 
sendNotification() 
updateUser() 
calcDuAlaOteFine 
getDuration() 
getItemType() 
getRate() 
calculate() 
DgAeOnerateReport 
getNotification() 
calculateFineAmount() 
getUser() 
acquireEmailAddress() 
sendNotification() 
updateUser() 
Fine 
fine_type 
fine_amount 
assigned_user 
assigned_item 
fine_rate 
borrowing_duration 
calculateFineAmount() 
generateReport() 
updateUser() 
11/18/2014 10
11/18/2014 11
1.userDetails := 
selectUser(userName) 
2.userStatus := 
checkUserStatus (user) 
3.itemDetails := 
selectItem(itemName) 
4.itemStatus := 
checkItemStatus (item) 
11/18/2014 12
1.userDetails := 
selectUser(userName) 
3.itemDetails := 
selectItem(itemName) 
2.Fine := checkFine(User) 
11/18/2014 13
1.duration := 
getDuration(user,item) 
3.fineRate := 
getRate(itemType) 
2.itemType := 
getItemType(item) 
11/18/2014 14
11/18/2014 15
issue 
retreive 
selectItem 
<<interface>> 
issue 
PassItemtoIssue() 
selectUser 
11/18/2014 16
issue 
retreive 
selectItem 
<<interface>> 
retrieve 
PassItemtoRetrieve() 
checkFine 
selectUser 
11/18/2014 17
calculateFine 
generateReport 
getDuration 
<<interface>> 
calculateFine 
PassUserItemtoCalculateFi 
ne() 
getItemType 
getFineRate 
11/18/2014 18
11/18/2014 19
Attribute Name Class Data Type/Data Structure 
user_type user enum 
user_name user,administrator,librarian string 
password user,administrator,librarian string 
user_status user enum 
e-mail user,administrator,librarian string 
report_no report int 
intended_user report int 
date report date 
report_type report enum 
11/18/2014 20
11/18/2014 21
Input Item 
Validate Input 
retrieve 
Arrange Alphabetically 
Arrange by Arrival Date 
Arrange by Category 
show 
arrangeType=Name 
arrangeType=ArrivalDate 
arrangeType=Category 
11/18/2014 22
Select User 
Check User 
Availability 
active 
Select Item 
Check Item 
Availability 
available 
blocked 
Not available 
Update Item,User 
11/18/2014 23
Select User 
Check Fine 
no 
Select Item 
Update Item 
Update User 
yes Generate Report 
11/18/2014 24
11/18/2014 25
• Date Source 
– User Database 
– Item Database 
• Required Class 
– DB Connect 
– DAO 
DAO 
insert() 
update() 
delete() 
select() 
DB Connect 
connectionString 
databaseName 
databaseUser 
Password 
databaseType 
connect() 
11/18/2014 26
11/18/2014 27
Librarian 
11/18/2014 28
11/18/2014 29 
Item
Report 
11/18/2014 30
11/18/2014 31
Control Panel 
Unit 
Secure Communication 
Central Processor 
Library PC http 
Database Server 
Remote PC 
Proxy Web 
Server 
11/18/2014 32
11/18/2014 33
• Graphical design notation 
• Tabular design notation 
• Program design language 
11/18/2014 34
Select User 
Check User 
Availability 
active 
Select Item 
Check Item 
Availability 
available 
issue retrieve 
Get Selection 
blocked 
Not available 
Update Item,User 
Select User 
Check Fine 
no 
Select Item 
Update Item 
Update User 
yes 
Generate Report 
11/18/2014 35
Rules 
Conditions 1 2 3 4 
User Status F T F T 
Item Status F F T T 
Actions 
Issue Item  
Don’t Issue    
Rules 
Conditions 1 2 
Check Fine F T 
Actions 
Retrieve Item  
Fine Report  
11/18/2014 36
Component Librarian: 
The intent of this component is to manage the circulation of items of the library 
and also update item data. 
Initialize all system ports and reset all hardware 
select user(username) 
contact with user class and get the details of an user 
specified by username 
check user_status(user) 
if user.status=“blocked” 
return “user is blocked” 
elseif user.status=“active” 
return “user is active” 
…………………………………………………………………… 
…………………………………………………………………………… 
11/18/2014 37
11/18/2014 38

Weitere ähnliche Inhalte

Andere mochten auch

mercado virtual y centro comercial virtual
mercado virtual y centro comercial virtualmercado virtual y centro comercial virtual
mercado virtual y centro comercial virtual
LikaMejia
 
Hak kekayaan intelektual animation
Hak kekayaan intelektual animationHak kekayaan intelektual animation
Hak kekayaan intelektual animation
PT. KA 2
 
Batik merbok edited editor
Batik merbok edited editorBatik merbok edited editor
Batik merbok edited editor
nurazlinajamal
 
La Industria Del MáRmol En Novelda V4
La Industria Del MáRmol En Novelda V4La Industria Del MáRmol En Novelda V4
La Industria Del MáRmol En Novelda V4
ECM
 
Trabajo documentos online
Trabajo documentos onlineTrabajo documentos online
Trabajo documentos online
juliocesar30
 

Andere mochten auch (18)

mercado virtual y centro comercial virtual
mercado virtual y centro comercial virtualmercado virtual y centro comercial virtual
mercado virtual y centro comercial virtual
 
Hak kekayaan intelektual animation
Hak kekayaan intelektual animationHak kekayaan intelektual animation
Hak kekayaan intelektual animation
 
#SinLugar: Bordeando la frontera. Historias de 5 minutos, por Amaranta Caball...
#SinLugar: Bordeando la frontera. Historias de 5 minutos, por Amaranta Caball...#SinLugar: Bordeando la frontera. Historias de 5 minutos, por Amaranta Caball...
#SinLugar: Bordeando la frontera. Historias de 5 minutos, por Amaranta Caball...
 
Embriología
EmbriologíaEmbriología
Embriología
 
Curriculum Español
Curriculum EspañolCurriculum Español
Curriculum Español
 
STI 7001 Data Sheet
STI 7001 Data SheetSTI 7001 Data Sheet
STI 7001 Data Sheet
 
Genetica raton
Genetica ratonGenetica raton
Genetica raton
 
FIRE OF DEVOTION (English)
FIRE OF DEVOTION (English)FIRE OF DEVOTION (English)
FIRE OF DEVOTION (English)
 
Defense at Scale
Defense at ScaleDefense at Scale
Defense at Scale
 
Batik merbok edited editor
Batik merbok edited editorBatik merbok edited editor
Batik merbok edited editor
 
Trabajo de Informatica
Trabajo de InformaticaTrabajo de Informatica
Trabajo de Informatica
 
TANM Research and Marketing Conference 2013, Albuquerque, NM
TANM Research and Marketing Conference 2013, Albuquerque, NMTANM Research and Marketing Conference 2013, Albuquerque, NM
TANM Research and Marketing Conference 2013, Albuquerque, NM
 
2010 09-30 ectel 2010 vlobato ctic and tel some examples
2010 09-30 ectel 2010 vlobato ctic and tel some examples2010 09-30 ectel 2010 vlobato ctic and tel some examples
2010 09-30 ectel 2010 vlobato ctic and tel some examples
 
Vianet
Vianet Vianet
Vianet
 
Lenguajes de-programacion-clase
Lenguajes de-programacion-claseLenguajes de-programacion-clase
Lenguajes de-programacion-clase
 
Sistema solar, energía solar, lago, cascada, río, arroyo, afluentes, delta
Sistema solar, energía solar, lago, cascada, río, arroyo, afluentes, deltaSistema solar, energía solar, lago, cascada, río, arroyo, afluentes, delta
Sistema solar, energía solar, lago, cascada, río, arroyo, afluentes, delta
 
La Industria Del MáRmol En Novelda V4
La Industria Del MáRmol En Novelda V4La Industria Del MáRmol En Novelda V4
La Industria Del MáRmol En Novelda V4
 
Trabajo documentos online
Trabajo documentos onlineTrabajo documentos online
Trabajo documentos online
 

Ähnlich wie Component based software engineering

Il 09 T3 William Spreitzer
Il 09 T3 William SpreitzerIl 09 T3 William Spreitzer
Il 09 T3 William Spreitzer
wspreitzer
 
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docxUse CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
dickonsondorris
 
Epp delivery controller rev1 - 23 06-2014
Epp delivery controller   rev1 - 23 06-2014Epp delivery controller   rev1 - 23 06-2014
Epp delivery controller rev1 - 23 06-2014
baijubabu4s
 
Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document
LJ PROJECTS
 
ckan 2.0: Harvesting from other sources
ckan 2.0: Harvesting from other sourcesckan 2.0: Harvesting from other sources
ckan 2.0: Harvesting from other sources
Chengjen Lee
 
Home Brewing R.U.M - Analyzing application performance with real user monitoring
Home Brewing R.U.M - Analyzing application performance with real user monitoringHome Brewing R.U.M - Analyzing application performance with real user monitoring
Home Brewing R.U.M - Analyzing application performance with real user monitoring
Ankit Rastogi
 

Ähnlich wie Component based software engineering (20)

Component level design
Component level designComponent level design
Component level design
 
Software Design Document
Software Design DocumentSoftware Design Document
Software Design Document
 
2006 - Basta!: Advanced server controls
2006 - Basta!: Advanced server controls2006 - Basta!: Advanced server controls
2006 - Basta!: Advanced server controls
 
Understanding Box UI Elements
Understanding Box UI ElementsUnderstanding Box UI Elements
Understanding Box UI Elements
 
Math statemnt
Math statemntMath statemnt
Math statemnt
 
4 the 3rd party libraries
4 the 3rd party libraries4 the 3rd party libraries
4 the 3rd party libraries
 
Il 09 T3 William Spreitzer
Il 09 T3 William SpreitzerIl 09 T3 William Spreitzer
Il 09 T3 William Spreitzer
 
Best android classes in mumbai
Best android classes in mumbaiBest android classes in mumbai
Best android classes in mumbai
 
SOLID: the core principles of success of the Symfony web framework and of you...
SOLID: the core principles of success of the Symfony web framework and of you...SOLID: the core principles of success of the Symfony web framework and of you...
SOLID: the core principles of success of the Symfony web framework and of you...
 
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docxUse CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
Use CasesDeborah E. Swain, Ph.D.EXAMPLENameProvis.docx
 
Firebase ng2 zurich
Firebase ng2 zurichFirebase ng2 zurich
Firebase ng2 zurich
 
Epp delivery controller rev1 - 23 06-2014
Epp delivery controller   rev1 - 23 06-2014Epp delivery controller   rev1 - 23 06-2014
Epp delivery controller rev1 - 23 06-2014
 
Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)
 
Sprint 70
Sprint 70Sprint 70
Sprint 70
 
Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document
 
Android reactive programming using agera
Android reactive programming using ageraAndroid reactive programming using agera
Android reactive programming using agera
 
S rstatmnt
S rstatmntS rstatmnt
S rstatmnt
 
Library management system
Library management systemLibrary management system
Library management system
 
ckan 2.0: Harvesting from other sources
ckan 2.0: Harvesting from other sourcesckan 2.0: Harvesting from other sources
ckan 2.0: Harvesting from other sources
 
Home Brewing R.U.M - Analyzing application performance with real user monitoring
Home Brewing R.U.M - Analyzing application performance with real user monitoringHome Brewing R.U.M - Analyzing application performance with real user monitoring
Home Brewing R.U.M - Analyzing application performance with real user monitoring
 

Mehr von Nadia Nahar

Mehr von Nadia Nahar (17)

Internship Final Report
Internship Final Report Internship Final Report
Internship Final Report
 
Test plan
Test planTest plan
Test plan
 
Deadlock detection
Deadlock detectionDeadlock detection
Deadlock detection
 
Remote Procedure Call
Remote Procedure CallRemote Procedure Call
Remote Procedure Call
 
Paper review
Paper reviewPaper review
Paper review
 
Final project report of a game
Final project report of a gameFinal project report of a game
Final project report of a game
 
Job Training Methods and Process
Job Training Methods and ProcessJob Training Methods and Process
Job Training Methods and Process
 
Final document of software project
Final document of software projectFinal document of software project
Final document of software project
 
Information retrieval dynamic indexing
Information retrieval dynamic indexingInformation retrieval dynamic indexing
Information retrieval dynamic indexing
 
Architectural design presentation
Architectural design presentationArchitectural design presentation
Architectural design presentation
 
Privacy act, bangladesh
Privacy act, bangladeshPrivacy act, bangladesh
Privacy act, bangladesh
 
Paper review
Paper reviewPaper review
Paper review
 
Html5
Html5Html5
Html5
 
Long formal report
Long formal reportLong formal report
Long formal report
 
Psycology
PsycologyPsycology
Psycology
 
Adjusting the accounts
Adjusting the accountsAdjusting the accounts
Adjusting the accounts
 
Southwest airlines takes off with better supply chain management
Southwest airlines takes off with better supply chain managementSouthwest airlines takes off with better supply chain management
Southwest airlines takes off with better supply chain management
 

Kürzlich hochgeladen

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Kürzlich hochgeladen (20)

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 

Component based software engineering

  • 1. By Nadia Nahar 11/18/2014 1
  • 2. • Component Level Design – Library Circulation System • Designing Conventional Component 11/18/2014 2
  • 5. User user_type user_name password user_status e-mail authenticate() search() renew() booking() Administrator user_name password e-mail configure() authenticate() Librarian user_name password e-mail issue() retrieve() add() edit() delete() Report report_no intended_user date report_type notifyUser() blockUser() Item item_type call_number item_status assigned_user issueItem() retrieveItem() itemAvailability() Fine fine_type fine_amount assigned_user assigned_item fine_rate borrowing_duration generateReport() updateUser() calculateFineAmount() 11/18/2014 5
  • 7. DAO insert() update() delete() select() GUI menu_items theme elements update() link() DB Connect connectionString databaseName databaseUser Password databaseType connect() 11/18/2014 7
  • 9. issue retreive Librarian user_name password e-mail selectUser() checkUserStatus() selectItem() checkItemStatus() show() updateItem() updateUser() selectUser() checkFine() selectItem() updateItem() updateUser() add() edit() delete() DAIsOsue selectUser() checkUserStatus() selectItem() checkItemStatus() show() updateItem() updateUser() DAROetreive selectUser() checkFine() selectItem() updateItem() updateUser() Librarian user_name password e-mail issue() retrieve() add() edit() delete() 11/18/2014 9
  • 10. calculateFine generateReport Fine fine_type general_fine special_fine destruction_fine fine_amount assigned_user General Special assigned_item Available Unavailable fine_rate borrowing_duration getDuration() getItemType() getRate() calculate() getNotification() calculateFineAmount() getUser() acquireEmailAddress() sendNotification() updateUser() calcDuAlaOteFine getDuration() getItemType() getRate() calculate() DgAeOnerateReport getNotification() calculateFineAmount() getUser() acquireEmailAddress() sendNotification() updateUser() Fine fine_type fine_amount assigned_user assigned_item fine_rate borrowing_duration calculateFineAmount() generateReport() updateUser() 11/18/2014 10
  • 12. 1.userDetails := selectUser(userName) 2.userStatus := checkUserStatus (user) 3.itemDetails := selectItem(itemName) 4.itemStatus := checkItemStatus (item) 11/18/2014 12
  • 13. 1.userDetails := selectUser(userName) 3.itemDetails := selectItem(itemName) 2.Fine := checkFine(User) 11/18/2014 13
  • 14. 1.duration := getDuration(user,item) 3.fineRate := getRate(itemType) 2.itemType := getItemType(item) 11/18/2014 14
  • 16. issue retreive selectItem <<interface>> issue PassItemtoIssue() selectUser 11/18/2014 16
  • 17. issue retreive selectItem <<interface>> retrieve PassItemtoRetrieve() checkFine selectUser 11/18/2014 17
  • 18. calculateFine generateReport getDuration <<interface>> calculateFine PassUserItemtoCalculateFi ne() getItemType getFineRate 11/18/2014 18
  • 20. Attribute Name Class Data Type/Data Structure user_type user enum user_name user,administrator,librarian string password user,administrator,librarian string user_status user enum e-mail user,administrator,librarian string report_no report int intended_user report int date report date report_type report enum 11/18/2014 20
  • 22. Input Item Validate Input retrieve Arrange Alphabetically Arrange by Arrival Date Arrange by Category show arrangeType=Name arrangeType=ArrivalDate arrangeType=Category 11/18/2014 22
  • 23. Select User Check User Availability active Select Item Check Item Availability available blocked Not available Update Item,User 11/18/2014 23
  • 24. Select User Check Fine no Select Item Update Item Update User yes Generate Report 11/18/2014 24
  • 26. • Date Source – User Database – Item Database • Required Class – DB Connect – DAO DAO insert() update() delete() select() DB Connect connectionString databaseName databaseUser Password databaseType connect() 11/18/2014 26
  • 32. Control Panel Unit Secure Communication Central Processor Library PC http Database Server Remote PC Proxy Web Server 11/18/2014 32
  • 34. • Graphical design notation • Tabular design notation • Program design language 11/18/2014 34
  • 35. Select User Check User Availability active Select Item Check Item Availability available issue retrieve Get Selection blocked Not available Update Item,User Select User Check Fine no Select Item Update Item Update User yes Generate Report 11/18/2014 35
  • 36. Rules Conditions 1 2 3 4 User Status F T F T Item Status F F T T Actions Issue Item  Don’t Issue    Rules Conditions 1 2 Check Fine F T Actions Retrieve Item  Fine Report  11/18/2014 36
  • 37. Component Librarian: The intent of this component is to manage the circulation of items of the library and also update item data. Initialize all system ports and reset all hardware select user(username) contact with user class and get the details of an user specified by username check user_status(user) if user.status=“blocked” return “user is blocked” elseif user.status=“active” return “user is active” …………………………………………………………………… …………………………………………………………………………… 11/18/2014 37