oop project

Upload: romeofatima

Post on 07-Jul-2018

233 views

Category:

Documents


2 download

TRANSCRIPT

  • 8/18/2019 OOP Project

    1/17

    OOP ProjectI. Overview of the Project

    The TESDA Learning Resource Center, formerly known as Informationand Documentation Services I!"#D#S$ is currently under the su%ervision ofthe &ualifications and Standards #ffice'

    Its main function is to su%%ort the research and training o()ective of theagency (y %roviding resources and information'

    Currently, it is serving %olicy makers, school administrators, trainers,teachers, curriculum develo%ers, students, workers, em%loyers and others' Thenum(er of clients served (y the center has dou(led yearly from its first year ofo%eration' It started with an average of twenty *+$ clients %er day' !ow after years of o%eration, it is serving an average of eighty -+$ clients %er day'

     The center is currently o%erating using manual recording of transactionmethod which results in %oor services and o%erations for its clients' As asolution, the management decided to commission %rogrammers to design anautomated system for the center that will (e used for the ne.t five $ years ofo%eration'

    II. Technical Specifications

     A. Environment 

    The a%%lication to (e develo%ed should (e a stand/alone deskto%a%%lication and in gra%hical user interface 01I$ mode'

    B. Users

    The system shall have following users21. Administrator

     Administrator is the custodian or manager of the center' The tasks ofthe administrator are2

    a. Add, delete or modify titles from the book collectionb. Add, suspend, activate or revoke membershipc. Acknowledge borrowed and returned books

    d. Cancel reservatione. Prepare transaction reports for borrowed and returned booksf. Prepare daily collection report for overdue feeg. Prepare inventory reports

    2. Member

    3em(er is a registered user' The %rivileges of a mem(er are2a. e!she can view the book collection of the centerb. e!she can make reservation in borrowing books "books for pick#

    up$c. e!she can borrow books from the center

    4age|1

  • 8/18/2019 OOP Project

    2/17

    %. &uests

    0uests are non/registered clients of the center' They can view orsearch the (ook collection of the center5 however they cannot (orrow a(ook'

     

    C. Policies

    The system will (e o%erating under following %olicies21. 'eservation Policy

    a. (nly active members can make the reservation of the titleb. Ma)imum of three books can be reserved by particular member,

    unless otherwise a new policy for allowable number of books tobe borrowed is approved.

    c. 'eservation is valid only for twenty#four "2*$ hours, unless

    otherwise a new policy on validity of reservation is approved.

    2. +orrowing Policy

    a. (nly active members can borrow books.b. (ne day!(vernight borrow policy. n case of overdue a -ne of

    twenty pesos per day "Php 2.!day$ will be charged, unlessotherwise a new policy on overdue fee is approved.

    c. Members who lost books shall be -ned with e)act cost of thebook.

    d. +ooks can be borrowed only if stocks are available "reservedbooks are considered borrowed unless the reservation has

    e)pired$e. /umber of books that can be borrowed by a particular member

    should be the same as the set ma)imum number of booksallowed in the reservation.

    %. Membership Policy

    a. All members are re0uired to register "see registration form formore details$

    b. ach member will be provided with uni0ue identi-cation numberc. Membership will e)pire one year from the date of registration

    unless otherwise new membership policy is approved.d. 'enewal of membership is allowed. he member who will be

    availing this privilege will retain their original identi-cationnumber.

    e. Members are inactive when their membership are e)pired orrevoked.

    4age|2

  • 8/18/2019 OOP Project

    3/17

    1

    2

    %

    *

    3

    4

    D. Sub-systems1. 5earch +ook Collection 6acility

    a. Main 6eatures

    This facility should have the following main features2

    • nterface that allows user to browse through the book

    collection and display the following information7o  itle of book

    o 5+/

    o Author

    o Abstract

    o +ook Availability "Available!/ot Available$

    • nterface that -lter the collection according to7o Category

    o  itle

    o Author

    o 5+/

    b. nterface

    The illustration (elow is the %rescri(ed layout for the %ro)ect'

    4age|3

    Abstract

  • 8/18/2019 OOP Project

    4/17

    c. 8escription

    This interface is the first %anel you will see when the electronicli(rary is o%ened' This allows guest not logged in user$ to (rowsethrough the (ook collection'

    • +ook information panel "1$ 9 his shows detailedinformation about a particular book in the collection.

    • /avigation button "2$ # here should be a navigation

    control that allows user to browse through the collection.

    • 6ilter panel "%$ 9 his input interface allows user to narrow

    down the book collection by providing the speci-c bookcategory and key words from the book title and author.:hen 5+/ entry has been provided, the search -lter willfocus only on the 5+/ entry.

    • +utton "*$ 9 his button is inactive while the user is not

    logged into the system. 8etails of this button aredescribed under the reservation facility.

    • ;og in button "3$ 9 his is the button that calls the log in

    interface of the system.

  • 8/18/2019 OOP Project

    5/17

    b. nterface

    The illustrations (elow are the %rescri(ed layout for the %ro)ect'

    4age|5

    6

    Abstract

    7

    *

    Abstract

    8

  • 8/18/2019 OOP Project

    6/17

    c. 8escription

    • ;og in!;og out button "1$ 9 nitially the te)t in this button

    indicates

  • 8/18/2019 OOP Project

    7/17

    a. 6eatures

     his facility is available only for members. t should have thefollowing features7

    • he interface is active only when the member is logged

    into the system.• 8erives the book to be borrowed from the search facility

    and stores the information into an electronic cart.

    • +ooks included into the cart can be deleted from the list

    • Automatic feedback indicating the number of booksreserved through message bo).

    • ;imit automatically the number of books that can be

    reserved by the user.

    b. nterface

    The illustration (elow is the %rescri(ed layout for the %ro)ect'

    c. 8escription

    4age|7

    Abstract

    8

    6*

    7

  • 8/18/2019 OOP Project

    8/17

    • Add to cart button "1$ 9 Active only when a member logs

    in to the system. his control is used to add the current

    book in the book information panel to the cart panel.

    • Cart panel "2$ 9 his control is active only once the

    member logs into the system. his interface holds the listof the books selected from the collection.

    • 'emove selected book button "%$ 9 his control removes

    the selected book from the cart.

    • 'eserve listed book button "*$ 9 his control adds the

    books from the cart into the system database as reserved

    to the current member. (nce a reservation has been

    made, the system will feedback

  • 8/18/2019 OOP Project

    9/17

    The illustrations (elow are the %rescri(ed layout for the %ro)ect'

    c. 8escription

    • +orrow ransaction ab "1$ 9 Activate the panel for

    managing the borrow transaction.

    • 6rom 'eservation ab "2$ 9 Activate the panel for

    searching reservation transaction record via entry of

    memberBs 8 number.

    4age|!

    6

    *7

    8

  • 8/18/2019 OOP Project

    10/17

    • ;ist of reserved books "%$ 9 his control displays the books

    reserved by the owner of the 8 number. +ooks listed from

    here can be deleted or transferred to the borrow records.

    • &enerated printable report "*$ 9 his report is generated

    once the

  • 8/18/2019 OOP Project

    11/17

    c. 8escription

    • Add to cart button "1$ 9 add the current book in the book

    information panel to the cart panel.

    • ;end listed books "2$ 9 transfer the listed books to theborrow records.

    • MemberBs 8 con-rmation bo) "%$ 9 this panel asks the

    user of the 8 number of the borrower.

    • &enerated printable report "*$ 9 his report is generated

    as proof that a borrow transaction has undertaken.

    4. 'eturn 6acility

    a. 6eatures

    4age|11

    *

    7

    6

  • 8/18/2019 OOP Project

    12/17

     his facility allows the administrator manage the book returntransaction. t should have the following features7

    • he panel should have a search interface that can be used

    in looking for the record of the member returning thebook.

    • here should be an interface that provides option forreturn transaction such as7

    o 'eturn only

    o Pay overdue penalty only

    o Pay overdue penalty and return

    • he system should generate report of the transaction

    made

    • Automatically computes the individual book overdue andtotal overdue collectibles per transaction.

    b. nterface

    The illustrations (elow are the %rescri(ed layout for the %ro)ect'

    4age|12

    8

    *

    6

    7

  • 8/18/2019 OOP Project

    13/17

    c. 8escription

    • 'eturn transaction tab "1$ 9 his control activates the

    return transaction panel.

    • 5earch memberBs record interface "2$ 9 his control can be

    used in looking for borrow and return transaction record of the member via entry of 8 number.

    • ;ist of borrow and return transaction record"%$ 9 his

    control displays the record of returned books with thefollowing status7

    o 'eturned book with unpaid penalty

    o >nreturned books with overdue penalty

    4age|13

    9

    :

  • 8/18/2019 OOP Project

    14/17

    o >nreturned books without overdue penalty

    • 'eturn option "*$ 9 Allows user to set the type of

    transaction7

    o 'eturn only

    o Pay overdue only

    o 'eturn and pay overdue

    • Add selected item "3$ 9 Calls and shows the return

    transaction panel. very time this button is clicked, theselected item from the list of transaction record is addedto the return transaction list.

    • 'eturn transaction list "4$ # 8isplays the list of books to be

    returned!paid. :hen process button is clicked returneditems with no zero penalty will be marked Status-O. his will remove the item from the record of returntransaction.

    • &enerated printable transaction report "D$ 9 >pon clicking

    the process button, the system will generate a printableoutput of the return transaction.

    D. Member ransaction 'ecording 6acility

    a. 6eatures

     his panel displays the unsettled personal transaction of themember as reminder of their obligations.

    b. nterface

    4age|14

  • 8/18/2019 OOP Project

    15/17

    c. 8escription

    • ransaction record tab "1$ 9 his control is active only if

    the member logBs into the system. t is used to display the

    personal transaction record of the member.

    • ;ist of transaction record"2$ # his control displays the list

    of unsettled transactions such as7

    o >nreturned books without penalty

    o >nreturned books with penalty

    o 'eturned book with unsettled penalty.

    E. Collection Maintenance

    The maintenance facility of the (ook collection is not included in this

    %ro)ect'

    F. >ser Maintenance

    The maintenance facility for user is not included in this %ro)ect'

    E. Transactionsa. +orrowing

    The administrator will register the (ooks (orrowed (y the mem(er'There are two ways of registering the (ooks to (e (orrowed2 7$

    4age|15

    *

    7

  • 8/18/2019 OOP Project

    16/17

    through manual entry of IS;!5 *$ through the reservation records ofthe mem(er' The ma.imum num(er of (ooks that can (e (orrowed inone transaction is (ased on the (orrowing %olicy' The system shouldrecord the name of (orrower, the (ooks (orrowed, IS;!, transactionnum(er and the date (orrowed'

    b. 'eturning

    The administrator needs to acknowledge the return of the (ooks';ooks from single (orrowing transaction can (e returned on individualreturning transaction' The system should record the name of (orrower,the (orrowing transaction num(er, title of (ook, date the (ook returnedand status of return transaction'Status of return transaction can be:

    o 'eturn the book without penalty "5tatus ($

    o 'eturn the book with unsettled penalty

    o >nreturned book without penalty

    o >nreturned book with penalty

    c. 'eservation

    The mem(er can reserve the title of the (ook to (e (orrowed' Thereservation %olicy should (e strictly followed in this function' Thesystem should record the name of (orrower, the (ooks (orrowed,IS;!, transaction num(er and the date reserved

    4age|16

  • 8/18/2019 OOP Project

    17/17

    F. Database Design+elow is the proposed database design for the system

    4age|17