Srs Document

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Srs Document as PDF for free.

More details

  • Words: 3,227
  • Pages: 24
Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Library Management System High Level Design Document Version 1.1

Thursday Team Dated: 2nd April 2002 Authors Venkat Subramanian [email protected] (Leader) Weiwei Miao [email protected] Jiaoheng Meng [email protected] Zhenyu Dai [email protected] Xiaoyu Zheng [email protected] Lanli Yang [email protected]

Revision History Date nd

Version

Description

Author

2 April 2002

1.0

First version

Design Team

9th April 2002

1.1

Second version:

Design Team

Made changes to GUI section based on review comments during team meeting on 4th April, 2002.

Coding Team

Confidential

CSI 518 : Thursday Team

Testing Team

Page 1

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Table of Contents 1.

Introduction...................................................................................................3 1.2

Scope........................................................................................................................................3

1.4References...............................................................................................................................................3

2.

Architectural Representation ......................................................................4

3.

Architectural Goals and Constraints .........................................................5

4.

Use-Case View ..............................................................................................5 4.1

5.

Use-Case Realizations.............................................................................................................5

Logical View .................................................................................................8 5.1

Overview..................................................................................................................................8

5.2Class Design Detail................................................................................................................................9

6.

Process View ...............................................................................................11

7.

Data View ....................................................................................................16

8. User Interface .............................................................................................................17 8.1 Screens:................................................................................................................................................17

Confidential

CSI 518 : Thursday Team

Page 2

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Software Architecture Document 1.

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

-

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

CSI 518 : Thursday Team

Page 3

Library Management System High Level Design Document

2.

Version: 1.0 Date: 2-Apr-2002

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 cs i518team)

Librarian (from csi518team)

CheckInBook (from csi518team)

CheckOutBook (from csi518team)

PayLateFee (from csi518team)

Confidential

ViewStudentDetails

ViewBookDetail

(from csi518team)

(from cs i518team)

CSI 518 : Thursday Team

Page 4

Library Management System High Level Design Document

3.

Version: 1.0 Date: 2-Apr-2002

Architectural Goals and Constraints This section describes the software requirements and objectives that have some significant impact on the architecture. The key design goals would be :

4.

-

Usability

-

Stability

-

Platform independence

-

3-Tier design methodologies to enable efficient and responsive system

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

Add New Student :

InsertStudentRecord

Librarian

ViewStudentDetails

VerifyStudent

Failure

Update Delete Student

Failure

Librarian

ViewStudentDetails

VerifyStudent

UpdateDeleteStudentRecord

Confidential

CSI 518 : Thursday Team

Page 5

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Add Book

Failure

Librarian

ViewBookDetail

AddBookRecord

Update Delete Book

Failure

Librarian

ViewBookDetail

UpdateDeleteBookRecord

Search Book

Confidential

CSI 518 : Thursday Team

Page 6

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

ViewBookDetail Success Librarian

EnterSearchParameters

DispalySearchResult AddToMyList <<extends>>Failure

ShowMyList

CheckInBook <<extends>>

CheckOutBook

CheckIn Book <<extends>>

Success Librarian

PayLateFee

EnterStudentID

Failure

Checkout Book

Success

Librarian

EnterBookCallNo

EnterStudentID

Failure

Confidential

CSI 518 : Thursday Team

Page 7

Library Management System High Level Design Document

5.

Version: 1.0 Date: 2-Apr-2002

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

csi518 team class diagram

Book callNo : String ISBN : String title : String author : String status : String addBook() validate() search() update() delete() checkin() checkout()

1

n

Transaction transctionID : String studentID : String callNo : String checkOutDate : Date checkInDate : Date fines : Double

n

update()

1

S tudent 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

CSI 518 : Thursday Team

Page 8

Library Management System High Level Design Document 5.2

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 9

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 10

Library Management System High Level Design Document

6.

Version: 1.0 Date: 2-Apr-2002

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

Update Delete Student

Astudent : Student

Librarian

View Student details

Delete student V alidate student Delete successfully return error (if delete unsuccessfully)

Confidential

CSI 518 : Thursday Team

Page 11

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Add Book

Abook : Book

Librarian

View book details A dd the book Error

Update/Delete Book

Abook : Book

Librarian View book details

Delete the book Delete successfully Return error if delete unsuccessfully

Confidential

CSI 518 : Thursday Team

Page 12

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Search Book

System : System

Librarian

Abook : Book

Enter search parameters Search search result Display search result

View book details Add to my list View my list display my list E rror (if operated unsuccessfully)

Ceck In Book

Atransction : Transction

Librarian

Check in ( StudentID, Book) Validate CheckIn

Compute latefine Check in successfully Error

Confidential

CSI 518 : Thursday Team

Page 13

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

Checkout Book

Atransaction : Transction

Librarian : Librarian

Check out (StudentID, Book call#) validate checkout Check out successfully Error

ViewBookDetail

Abook : Book

Librarian

View book details display book details

Confidential

CSI 518 : Thursday Team

Page 14

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

ViewtudentDetails

AStudent : Student

Librarian

View student details display student details

Confidential

CSI 518 : Thursday Team

Page 15

Library Management System High Level Design Document

7.

Version: 1.0 Date: 2-Apr-2002

Data View

A description of the persistent data storage perspective of the system.

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_T_Student0()

T_Transaction transctionID : VARCHAR(255) studentID : VARCHAR(255) callNo : VARCHAR(255) <> checkOutDate : TIMESTAMP checkInDate : TIMESTAMP 1 1 0..* fines : DOUBLE(64) COL_0 : VARCHAR(255) COL_1 : VARCHAR(255)

<>

0..*

<> PK_T_Transactio1() <> FK_T_Transactio1() <> FK_T_Transactio0() <> TC_T_Transactio3() <> TC_T_Transactio1()

1

T_Book callNo : VARCHAR(255) ISBN : VARCHAR(255) title : VARCHAR(255) author : VARCHAR(255) status : VARCHAR(255) <> PK_T_Book2()

T_MyList callNo : VARCHAR(255) <> PK_T_MyList3()

Confidential

CSI 518 : Thursday Team

Page 16

Library Management System High Level Design Document

8.

Version: 1.0 Date: 2-Apr-2002

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:

Start  Main Menu M a in M e n u

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

CSI 518 : Thursday Team

Page 17

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

5

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

CSI 518 : Thursday Team

Page 18

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

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 )

C h e c k -o u t (3 9 )

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

D u e D a te B o rro w e d b y

C h e c k -o u t (4 3 )

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 )

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

CSI 518 : Thursday Team

Page 19

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 20

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 21

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 22

Library Management System High Level Design Document

Version: 1.0 Date: 2-Apr-2002

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

CSI 518 : Thursday Team

Page 23

Library Management System High Level Design Document

Confidential

Version: 1.0 Date: 2-Apr-2002

CSI 518 : Thursday Team

Page 24

Related Documents

Srs Document
May 2020 0
Srs Document Checklist
April 2020 4
Srs
July 2020 36
Srs
October 2019 34
Srs
October 2019 36
Srs
November 2019 36