Professional Documents
Culture Documents
High DesignV1 1
High DesignV1 1
Revision History
Date 2 April 2002 9th April 2002
nd
Description
Second version: Made changes to GUI section based on review comments during team meeting on 4th April, 2002.
Confidential
Page 1
Table of Contents 1.
1.2
Introduction...................................................................................................3
Scope........................................................................................................................................3 References....................................................................................................................................................3
2. 3. 4.
4.1
Architectural Representation .....................................................................4 Architectural Goals and Constraints .........................................................5 Use-Case View ..............................................................................................5
Use-Case Realizations.............................................................................................................5
5.
5.1
6. 7.
Confidential
Page 2
1.2
Scope This document outlines : Detailed use case scenarios of key process flows of the application The class model and relationships The sequence diagrams which outline key use case scenarios The data/object model with relational table design User interface style and design
References Requirements Document Ver 1.1 Rational Unified Process Software Architecture Document template
Confidential
Page 3
2.
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)
ViewStudentDetails
(from csi518team)
ViewBookDetail
(from csi518team)
Confidential
Page 4
3.
4.
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
Librarian
UpdateDeleteStudentRecord
Confidential
Page 5
Failure
Librarian
ViewBookDetail
AddBookRecord
Failure
Librarian
ViewBookDetail
UpdateDeleteBookRecord
Search Book
Confidential
Page 6
ShowMyList <<extends>>
CheckInBook
CheckOutBook
CheckIn Book
<<extends>>
PayLateFee
Failure
Checkout Book
Success
Librarian
EnterBookCallNo
EnterStudentID
Failure
Confidential
Page 7
5.
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()
Confidential
Page 8
Library Management System High Level Design Document Class Design Detail
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
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.
Process View
[This section describes the system's decomposition into main sequences of flows.
Add New student
Astudent : Student
Validate Error
Librarian
Delete student Validate student Delete successfully return error (if delete unsuccessfully)
Confidential
Page 11
Librarian
Abook : Book
Update/Delete Book
Abook : Book
Confidential
Page 12
System : System
Abook : Book
View book details Add to my list View my list display my list Error (if operated unsuccessfully)
Ceck In Book
Librarian
Atransction : Transction
Confidential
Page 13
Librarian : Librarian
Atransaction : Transction
Check out (StudentID, Book call#) validate checkout Check out successfully Error
ViewBookDetail
Librarian
Abook : Book
Confidential
Page 14
Librarian
Confidential
Page 15
7.
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()
<<Non-Identifying>> 1
1
0..*
T_Transaction transctionID : VARCHAR(255) studentID : VARCHAR(255) callNo : VARCHAR(255) checkOutDate : TIMESTAMP checkInDate : TIMESTAMP fines : DOUBLE(64) COL_0 : VARCHAR(255) COL_1 : VARCHAR(255) <<PK>> PK_T_Transactio1() <<FK>> FK_T_Transactio1() <<FK>> FK_T_Transactio0() <<Index>> TC_T_Transactio3() <<Index>> TC_T_Transactio1()
<<Non-Identifying>>
0..*
T_Book callNo : VARCHAR(255) ISBN : VARCHAR(255) title : VARCHAR(255) author : VARCHAR(255) status : VARCHAR(255) <<PK>> PK_T_Book2()
Confidential
Page 16
8.
User Interface
This section provides the key user screen views and their relationships with the process. Note: N1 N2 : After press N1 button, N2 window will pop out.
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 S tu d e n t (2 2 ) C h e c k -o u t B o o k (2 1 )
U p d a te /D e le te B o o k ( 1 8 )
C h e c k -in B o o k (2 0 )
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
A u th o r : T itle : IS B N :
B ru c e E c k e l T h in k in g in J a v a 0 -1 3 -0 2 7 3 6 3 -5
R e s e t (2 5 ) C a n c e l (2 6 )
S u b m it (2 4 )
P re vio u s P a g e
N e xt P a g e
Page #
go
S e le c t
C a ll #
IS B N
T it le
A u th o r
C o p ie s
B a c k to M a i n ( 2 7 ) V ie w D e ta il( 2 9 ) U p d a te ( 3 3 ) A d d to L is t ( 3 0 ) D e le te ( 3 4 )
N e w S e a rc h (2 8 ) V ie w L is t (3 1 ) C h e c k -in (3 5 ) C le a r L is t (3 2 ) C h e c k -o u t (3 6 )
C a ll #
IS B N
T it le
A u th o r
C o p ie s
S ta tu s
D u e D a te
B o rro w e d b y
A d d to L is t ( 3 7 )
C h e c k -in (3 8 )
C h e c k -o u t (3 9 )
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 T it le A u th o r C o p ie s S ta tu s D u e D a te B o rro w e d b y
C h e c ko u t D a te
R e m o v e fr o m L is t (4 1 )
C h e c k -in (4 2 )
C h e c k -o u t (4 3 )
B a c k to S e a r c h R e s u lt ( 4 4 )
41 list after removing, 5; 42 13; 44 3; (Note : As librarian is the only intended user, and the name records are not maintained for brevity, the screen title need not show current logged in user.)
Confidential
Page 19
ID /S S N N am e A d d re s s C ity S ta te Z IP Phone
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
D e le te ( 4 9 ) C a n c e l (2 6 )
U P d a te ( 4 8 )
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
S e le c t
ID
Nam e
A d d re ss
Phone
V i e w D e ta il( 5 3 )
U p d a te ( 5 4 )
D e le te ( 5 5 )
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 C a ll # C a ll # C a ll # C a ll # C a ll # C a ll # C h e c k in (6 1 )
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
IS B N T i tl e A u th o r
A d d (6 5 )
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 N am e A d d re s s C ity S ta te Z IP Phone
H o ld b o o k s C O d a te D u e d a te F in e s
T o ta l F in e s
D e l e te ( 5 8 )
B a c k to M a in ( 5 9 )
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
D e le te ( 7 1 ) C a n c e l (7 2 )
U P d a te ( 7 0 )
70 69;
Confidential
Page 22
C a ll # T i tl e A u th o r IS B N
1 2 3 4 5 6 7 8 9 (u n c h a n g e d ) T h in k in J a v a B ru c e E c k e l 123456789
C a n c e l (7 4 )
U p d a te ( 7 3 )
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
Confidential
Page 24