Sie sind auf Seite 1von 7

RMIT Library

Restricted -ItemBarcode : String -StaffID : String -StartDate : Date -EndDate : Date -MaxBorrowDuration : integer +PutOnRestricted(Date start, Date end, Integer duration) +Remove() Reserve -ItemBarcode : String -StaffID : String -StartDate : Date -EndDate : Date +PutOnReserve(Date start, Date end) +Remove()

Loan -LoanID : String -BorrowerID : String -ItemBarcode : String -LoanDate : Date -LoanStatus : String -ReturnDate : Date -ReturnedDate : Date -ReturnedStatus : String 1 +Loan(String borrowID, Date borrowDate, Date returnDate) +Return(String borrowID, Date returneDate, String returnedStatus) +CalculateFine(String borrowID) +ExtendBorrowPeriod(String borrowID)

Fine -LoanID : String -FineAmount : Double -PaidStatus : Boolean +CalculateTotalFine() Staff -StaffID : String -Department : String -StaffStatus : String +ImportStaff(String borowerID, String name, Date birthDate, String borrowerStatus, String barcode, String staffID, String Department, String StaffStatus) +EditStaff(String staffID, String Department, String StaffStatus)

Hold -ItemBarcode : String -BorrowerID : String -HoldPlacedDate : Date -HoldExpireDate : Date -Queue : Integer -HoldStatus : String +AddHold(Date placedDate, Date expireDate, Integer queue, String holdStatus) +UpdateQueue(Integer queue) +UpdateStatus(String newStatus) +RemoveHold()

0..1

* * -ISBN : String -ItemBarcode : String -Title : String -Author : String -Publisher : String -Subjects : String -Description : String -Notes : String -RestrictedBorrowing : Boolean -OnLoanStatus : Boolean -OnHoldStatus : Boolean +AddBook(String isbn, String itemBarcode String title, String author, String publisher, String subject, String desc, String notes, Boolean restricted, Integer restrictedDuration, Boolean reserved, Date reservedDate) +EditBook(String isbn, String itemBarcode String title, String author, String publisher, String subject, String desc, String notes, Boolean restricted, Integer restrictedDuration, Boolean reserved, Date reservedDate) +DecommisionBook(String itemBarcode) +SearchBook(String title) : Book +UpdateHoldStatus(Boolean newStatus) +UpdateLoanStatus(Boolean newStatus) +GetHoldStatus() : Boolean +GetLoanStatus() : Boolean +UpdateRestrictedStatus(Boolean newStatus) +GetRestrictedStatus() : Boolean * * ElectronicMedia -Title : String -Media Type : String -ItemBarcode : String -Author : String -Publisher : String -OnLoanStatus : Boolean -OnHoldStatus : Boolean +AddElectronicMedia(String title, String mediaType, String itemBarcode, String Author, String Publisher) +EditElectronicMedia(String title, String mediaType, String itemBarcode, String Author, String Publisher) +DecommisionElectronicMedia(String itemBarcode) +GetHoldStatus() : Boolean +GetLoanStatus() : Boolean +UpdateHoldStatus(Boolean newStatus) +UpdateLoanStatus(Boolean newStatus) -ISBN : String -ItemBarcode : String -Title : String -Volume : String -Issue : Integer -Publisher : String -Author : String[] -Articles : String[] -Subjects : String -Description : String -Notes : String -OnLoanStatus : Boolean -OnHoldStatus : Boolean +AddJournal(String isbn, String itemBarcode String title, String Volume, Integer Issue, String author [], String articles [], String publisher, String subject, String desc, String notes) +EditJournal(String isbn, String itemBarcode String title, String Volume, Integer Issue, String author [], String articles [], String publisher, String subject, String desc, String notes) +DecommisionJournal(String itemBarcode) +UpdateHoldStatus(Boolean newStatus) +UpdateLoanStatus(Boolean newStatus) +GetHoldStatus() : Boolean +GetLoanStatus() : Boolean Journal Book

Other -Address : String -LicenseNumber : String +AddOther(String borowerID, String name, Date birthDate, String borrowerStatus, String barcode, String address, String licenseNumber) +EditOther(String Address, String LicenseNumber) +DeleteOther() Borrower -BorrowerID : String -Name : String -DOB : Date -Status : String -Barcode : String +AddBorrower(String borrowerID, String name, Date birthDate, String status, String barcode) +EditBorrower(String borrowerID, String name, Date birthDate, String status, String barcode) +UpdateBarcode(String borrowerID) +DeleteBorrower(String borrowerID) +ScanBarcode() Student -StudentID : String -Department : String -StudentStatus : String +ImportStudent(String borowerID, String name, Date birthDate, String borrowerStatus, String barcode, String studentID, String Department, String StudentStatus) +EditStudent(String studentID, String Department, String studentStatus) LibraryDriver +Login() +InitBorrower() +InitBook() +InitElectronicJournal() +InitLoan() +InitReserve() +InitRestricted() +GenerateUsageReport() *

* *

RMIT Library
: Loan : Student StudentID = 011011 Barcode = xxxxxxx Name = Bob Blue Status = Active StudentStatus = Active Student LoanID = 1 BorrowerID = xxxxxxx ItemBarcode = 1234567 LoanDate = 18 Feb ReturnDate = 4 March ReturnedDate = 2 March ReturnedStatus = On Time

: Hold BorrowerID = 9876543 ItemBarcode = 1234567 HoldPlacedDate = 1 March Queue = 1 HoldExpireDate = 3 March HoldStatus = Picked

: Student Barcode = 9876543 Name = Lee Lime Status = Active StudentStatus = Alumni

: Book Title = UML Distilled Author = Martin Fowler ItemBarcode = 1234657 OnLoanStatus = False OnHoldStatus = False : Reserve StartDate = 25 March ItemBarcode = 1234567 StaffID = e11001 : Staff Name = Gru Green StaffID = e11001

: Loan LoanID = 2 BorrowerID = 9876543 ItemBarcode = 1234567 LoanDate = 3 March ReturnDate = 17 March ReturnedDate = 24 March ReturnedStatus = Late

: Fine LoanID = 2 FineAmount = 3.5

sd RMIT Library
: Book Lee : Student UML Distilled : Book : Hold

1: SearchBook()

1.1: GetLoanStatus()

1.2: True 2: UML Distiled, On Loan

3: AddHold()

4: Success

sd Pay Fine communication diagram


1: Scan Barcode 2: Search Loan based Barcode 3: Get total fine amount

:Apps

:Loan

:Fine

Librarian 4: Telling borrower fine amount 5: Borrower pay the fine 6: Update borrower statues & update the total fine amount

:Borrower 7: Generate receipt and give it to borrower

Borrower's borrowing status state diagrame


on the ITS list & already have a card or to card can be collected Active Borrower left RMIT with unpaid fines Inactive

Barcode is assigned and card is collected

Left RMIT without any fines

The total unpaid fines are greater than $25 on the ITS list and waiting for barcode to be assigned & to card to be collected Left RMIT with unpaid fines Fines being paid

Pending

Suspended

Barcode is assigned and card is collected

Other (borrower) created by the librarian with expiry date

Expired without unpaid fines

Temporary

RMIT Student Activity Diagram

Borrower

User input search phrase

Mark selected items

Place "HOLD" on those items

Input User Barcode/Suname

No

Validate us er login
Yes User Interface waiting for input Display search results Status = Active Yes

Display failed login message

Prom pt for what to do next

Logout Display message "HOLD" is successful

Is borrower login?
System

Validate borrower s tatus

No

Status = Not Active

Prom pt for what to do next


Request for RMIT library barcode login "HOLD" action is not allowed

Das könnte Ihnen auch gefallen