Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version:
1.0
Date: 10th Aug, 2008
Revision History
Date
10th August, 2008
Confidential
Version
1.0
Description
First version
Author
Design Team
Page 1
Version:
1.0
Date: 10th Aug, 2008
Table of Contents
1.
Introduction..........................................................................................................3
1.2
Scope............................................................................................................................................3
1.4
References.....................................................................................................................................3
2.
Architectural Representation..............................................................................4
3.
4.
Use-Case View.......................................................................................................5
4.1
5.
Use-Case Realizations.................................................................................................................5
Logical View..........................................................................................................8
5.1
Overview......................................................................................................................................8
5.2
6.
Process View........................................................................................................11
7.
Data View............................................................................................................16
8.
User Interface.......................................................................................................17
8.1
Screens:.......................................................................................................................................17
Confidential
Page 2
Version:
1.0
Date: 10th Aug, 2008
Introduction
This document provides a comprehensive architectural overview of the system, using a
number of different architectural views to depict different aspects of the system. It is
intended to capture and convey the significant architectural decisions which have been
made on the system.
1.2
Scope
This document outlines:
1.4
References
Requirements Document Version 1.0
Rational Unified Process Software Architecture Document template
Confidential
Page 3
2.
Version:
1.0
Date: 10th Aug, 2008
Architectural Representation
This section describes what software architecture is for the current system, and how it is
represented.
AddNewStudent
(from csi518team)
UpdateDeleteStudent
(from csi518team)
AddBook
(from csi518team)
UpdateDeleteBook
(from csi518team)
SearchBook
(from csi518team)
Librarian
(from csi518team)
CheckInBook
(from csi518team)
CheckOutBook
(from csi518team)
PayLateFee
(from csi518team)
Confidential
ViewStudentDetails
ViewBookDetail
(from csi518team)
(from csi518team)
Page 4
3.
Version:
1.0
Date: 10th Aug, 2008
4.
Usability
Stability
Platform independence
Use-Case View
This section lists use cases or scenarios from the use-case model which depict
significant, central functionality of the final system, or if they have a large architectural
coverage.
4.1
Use-Case Realizations
InsertStudentRecord
Librarian
ViewStudentDetails
VerifyStudent
Failure
Failure
Librarian
ViewStudentDetails
VerifyStudent
UpdateDeleteStudentRecord
Confidential
Page 5
Version:
1.0
Date: 10th Aug, 2008
Add a Book
Failure
Librarian
ViewBookDetail
AddBookRecord
Failure
Librarian
ViewBookDetail
UpdateDeleteBookRecord
Confidential
Page 6
Version:
1.0
Date: 10th Aug, 2008
Search Book
ViewBookDetail
Success
Librarian
EnterSearchParameters
DispalySearchResult
AddToMyList
<<extends>> Failure
ShowMyList
CheckInBook
<<extends>>
CheckOutBook
Check-In Book
<<extends>>
Success
Librarian
PayLateFee
EnterStudentID
Failure
Check-out Book
Success
Librarian
EnterBookCallNo
EnterStudentID
Failure
Confidential
Page 7
5.
Version:
1.0
Date: 10th Aug, 2008
Logical View
This section describes the architecturally significant parts of the design model, such as its
decomposition into subsystems and packages. And for each significant package, its
decomposition into classes and class utilities.
5.1
Overview
Book
callNo : String
ISBN : String
title : String
author : String
status : String
addBook()
validate()
search()
update()
delete()
checkin()
checkout()
Transaction
transctionID : String
studentID : String
callNo : String
checkOutDate : Date
checkInDate : Date
fines : Double
update()
Student
studentID : String
name : String
street : String
city : String
zipCode : String
state : String
phoneNo : String
lateFeeTotal : Double
addStudent()
validateNewStudent()
search()
update()
delete()
MyList
callNo : String
addToMyList()
deleteFromList()
viewList()
clearList()
Confidential
Page 8
Version:
1.0
Date: 10th Aug, 2008
Student Class:
This class encapsulates all student related operations and details.
Student
studentID : String
name : String
street : String
city : String
zipCode : String
state : String
phoneNo : String
lateFeeTotal : Double
addStudent(studentID, name, street, city, zipCode, state, phoneNo) : Error
validateNewStudent() : Integer
search(studentID, name)
update(name, studentID, street, city, zipCode, state, phoneNo) : Error
delete(studentID) : Error
Book Class:
This class encapsulates all Book related operations and details.
Book
callNo : String
ISBN : String
title : String
author : String
status : String
addBook(callNo, ISBN, title, author) : Error
validate() : Integer
search(callNo, ISBN, title, author)
update(callNo, ISBN, title, author) : Error
delete(callNo) : Error
checkin(callNo) : Error
checkout(studentID, callNo) : Error
Confidential
Page 9
Version:
1.0
Date: 10th Aug, 2008
Transaction Class:
This class encapsulates a single transaction, and maps a student to a book which has been checked out. All
associated details of a transaction are also stored in this class (late fees, checkin, checkout dates).
Transaction
transctionID : String
studentID : String
callNo : String
checkOutDate : Date
checkInDate : Date
fines : Double
update(transactionID, studentID, callNo, checkOutDate, checkInDate, fines) : Error
MyListClass :
This class encapsulates the usecases related to maintaing a temporary subset of user selected books
during a search operation.
MyList
callNo : String
addToMyList(callNo) : Error
deleteFromList(callNo) : Error
viewList() : Error
clearList() : Error
Confidential
Page 10
6.
Version:
1.0
Date: 10th Aug, 2008
Process View
This section describes the system's decomposition into main sequences of flows.
Add New student
Astudent :
Student
Librarian
View student details
Add student
Validate
Error
Astudent :
Student
Librarian
Delete student
Validate student
Delete successfully
return error (if delete unsuccessfully)
Confidential
Page 11
Version:
1.0
Date: 10th Aug, 2008
Add Book
Abook : Book
Librarian
Update/Delete Book
Abook : Book
Librarian
View book details
Confidential
Page 12
Version:
1.0
Date: 10th Aug, 2008
Search Book
System :
System
Librarian
Abook : Book
Ceck In Book
Atransction :
Transction
Librarian
Compute latefine
Check in successfully
Error
Confidential
Page 13
Version:
1.0
Date: 10th Aug, 2008
Checkout Book
Atransaction :
Transction
Librarian : Librarian
ViewBookDetail
Abook : Book
Librarian
Confidential
Page 14
Version:
1.0
Date: 10th Aug, 2008
ViewtudentDetails
AStudent :
Student
Librarian
Confidential
Page 15
7.
Version:
1.0
Date: 10th Aug, 2008
Data View
T_Student
studentID : VARCHAR(255)
name : VARCHAR(255)
street : VARCHAR(255)
city : VARCHAR(255)
zipCode : VARCHAR(255)
state : VARCHAR(255)
phoneNo : VARCHAR(255)
lateFeeTotal : DOUBLE(64)
<<PK>> PK_T_Student0()
T_Transaction
transctionID : VARCHAR(255)
studentID : VARCHAR(255)
callNo : VARCHAR(255)
<<Non-Identifying>> checkOutDate : TIMESTAMP
checkInDate : TIMESTAMP
1
0..* fines : DOUBLE(64)
COL_0 : VARCHAR(255)
COL_1 : VARCHAR(255)
<<Non-Identifying>>
0..*
<<PK>> PK_T_Transactio1()
<<FK>> FK_T_Transactio1()
<<FK>> FK_T_Transactio0()
<<Index>> TC_T_Transactio3()
<<Index>> TC_T_Transactio1()
T_Book
callNo : VARCHAR(255)
ISBN : VARCHAR(255)
title : VARCHAR(255)
author : VARCHAR(255)
status : VARCHAR(255)
<<PK>> PK_T_Book2()
T_MyList
callNo : VARCHAR(255)
<<PK>> PK_T_MyList3()
Confidential
Page 16
8.
Version:
1.0
Date: 10th Aug, 2008
User Interface
This section provides the key user screen views and their relationships with the process.
Note:
N1 N2
If there is no comment for a button, the window which contains the button will be closed
after it is pressed.
8.1
Screens:
L ib r a r y M a n a g e m e n t S y s te m
A d d N e w B o o k (1 6 )
A d d N e w S tu d e n t ( 1 7 )
U p d a te /D e le te B o o k ( 1 8 )
U p d a te /D e le te S tu d e n t
(2 2 )
C h e c k -in B o o k (2 0 )
C h e c k -o u t B o o k (2 1 )
S e a r c h fo r B o o k ( 1 9 )
V ie w s tu d e n t D e ta il ( 2 3 )
16 64;
17 7;
18 68;
19 2;
20 13;
21 13;
22 9;
23 11;
(Note : A command button to view saved list may be provided)
Confidential
Page 17
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 2 ) - - S e a r c h B o o k
A u th o r :
B ru c e E c k e l
T itle :
T h in k in g in J a v a
IS B N :
0 -1 3 -0 2 7 3 6 3 -5
S u b m it (2 4 )
R e s e t (2 5 )
C a n c e l (2 6 )
24 succeed 3;
24 failure 77;
25 2;
26 1;
W in d o w ( 3 ) - - S e a r c h R e s u lt
P re vio u s P a g e
S e le c t
N e xt P a g e
C a ll #
IS B N
B a c k to M a i n ( 2 7 )
Page #
T it le
A u th o r
go
C o p ie s
N e w S e a rc h (2 8 )
V ie w D e ta il( 2 9 )
A d d to L is t ( 3 0 )
V ie w L is t (3 1 )
C le a r L is t (3 2 )
U p d a te ( 3 3 )
D e le te ( 3 4 )
C h e c k -in (3 5 )
C h e c k -o u t (3 6 )
28 2;
29 4;
30 3;
31 5;
32 3;
33 69;
35 13;
36 13;
Confidential
Page 18
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 4 ) - - V ie w B o o k 's D e t a il in f o r m a t io n
C a ll #
IS B N
T it le
A d d to L is t ( 3 7 )
A u th o r
C h e c k -in (3 8 )
C o p ie s
S ta tu s
C h e c k -o u t (3 9 )
D u e D a te
B o rro w e d b y
B a c k to S e a r c h R e s u lt ( 4 0 )
37 5;
38 13;
39 13;
40 3;
W in d o w ( 5 ) - - M y L is t
B o o k lis t fo r : Y o u r N a m e
S e le c t
C a ll #
IS B N
R e m o v e fr o m L is t
(4 1 )
T it le
C h e c k -in (4 2 )
A u th o r
C o p ie s
S ta tu s
C h e c k -o u t (4 3 )
D u e D a te B o rro w e d b y
C h e c ko u t D a te
B a c k to S e a r c h R e s u lt ( 4 4 )
Confidential
Page 19
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 7 ) - - A d d n e w s t u d e n t s
ID /S S N
123456789
N am e
X ia o y u Z h e n g
A d d re s s
C ity
S ta te
Z IP
Phone
4 0 S . M a in A v e .
A lb a n y
NY
12208
1 234 567 8900
S u b m it (4 6 )
C a n c e l (4 7 )
W in d o w ( 9 ) - - U p d a t e /D e le t e a s t u d e n t
ID /S S N
123456789
U P d a te ( 4 8 )
D e le te ( 4 9 )
C a n c e l (2 6 )
48 12
W in d o w ( 1 1 ) - - S e a r c h a s t u d e n t
ID /S S N
N am e
S e a rc h (5 1 )
C a n c e l (5 0 )
51 12;
Confidential
Page 20
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 1 2 ) - - S e a r c h S t u d e n t s r e s u lt
S e le c t
ID
Nam e
U p d a te ( 5 4 )
V i e w D e ta il( 5 3 )
A d d re ss
D e le te ( 5 5 )
Phone
C a n c e l (5 6 )
53 60;
W in d o w ( 1 3 ) - - C h e c k in /o u t b o o k s
ID /S S N
123456789
C a ll #
123456789
C a ll #
123456789
C a ll #
123456789
C a ll #
123456789
C a ll #
123456789
C a ll #
123456789
C h e c k in (6 1 )
C h e c k o u t( 6 2 )
C a n c e l (6 3 )
Note : There could be a max. of 10 books issuable by user. This screen may provide a
max of 10 rows of call number text input fields.
Confidential
Page 21
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 1 4 ) - - A d d a n e w b o o k
IS B N
123456789
T i tl e
123456789
A u th o r
123456789
A d d (6 5 )
C a n c e l (6 6 )
W in d o w ( 6 0 ) - - V ie w s t u d e n t s ' d e t a il in f o r m a t io n
ID /S S N
123456789
N am e
X ia o y u Z h e n g
A d d re s s
C ity
S ta te
Z IP
Phone
H o ld b o o k s
C a ll #
4 0 S . M a in A v e .
T it le
C O d a te
T o ta l F in e s
D u e d a te
F in e s
A lb a n y
NY
12208
1 234 567 8900
B a c k to M a in ( 5 9 )
D e l e te ( 5 8 )
W in d o w ( 6 8 ) - - U p d a t e /D e le t e a b o o k
C a ll #
123456789
U P d a te ( 7 0 )
D e le te ( 7 1 )
C a n c e l (7 2 )
70 69;
Confidential
Page 22
Version:
1.0
Date: 10th Aug, 2008
W in d o w ( 6 9 ) - - U p d a t e t h e b o o k
C a ll #
1 2 3 4 5 6 7 8 9 (u n c h a n g e d )
T i tl e
T h in k in J a v a
A u th o r
B ru c e E c k e l
IS B N
123456789
U p d a te ( 7 3 )
C a n c e l (7 4 )
W in d o w ( 7 7 ) - - D is p la y E r r o r
E rro r!
Error M e s s a ge
OK
W in d o w ( 7 8 ) - - D is p la y S u c c e s s
S u c c e s s fu l !
O p e r a t io n in f o r m a t io n
OK
Confidential
Page 23