6 - Library Information System This exercise asks you to...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
© 2010 by Spencer Rugaber Library Information System • This exercise asks you to create a UML class diagram that models the problem of managing the information resources for a library – That is, devise an analysis model • Assume that somebody else will be designing the program from your analysis – Include classes, their attributes and operations and the relationships among them – Indicate attribute types, cardinality of associations, generalization and aggregation and composition relationships
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2010 by Spencer Rugaber Library Problem Requirements 1. Each patron has one unique library card for as long as they are in the system. 2. The library needs to know at least the name, address, phone number, and library card number for each patron. 3. In addition, at any particular point in time, the library may need to know or to calculate the items a patron has checked out, when they are due, and any outstanding overdue fines. 4. Children (age 12 and under) have a special restriction–they can only check out five items at a time. 5. A patron can check out books or audio/video materials. 6. Books are checked out for three weeks, unless they are current best sellers, in which case the limit is two weeks. 7. A/V materials may be checked out for two weeks. 8. The overdue fine is ten cents per item per day, but cannot it go higher than the value of the overdue item. 9. The library also has reference books and magazines, which cannot be checked out 10. A patron can request a book or A/V item that is not currently in. 11. A patron can renew an item exactly once–unless there is a outstanding request for the item, in which case the patron must return it.
Background image of page 2
© 2010 by Spencer Rugaber Nouns in Requirements • The Abbott/Booch approach to beginning the modeling process is to review the requirements looking for nouns as candidate classes • What nouns did you find in the Library Problem Requirements?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2010 by Spencer Rugaber Nouns in Requirements • The Abbott/Booch approach to beginning the modeling process is to review the requirements looking for nouns as candidate classes. • What nouns did you find in the Library Problem Requirements? patron, library card, system, library, name, address, phone number, time, item, fine, libraryCardNumber, child, restriction, book, AVMaterial, week, bestSeller, limit, day, cent, value, reference book, magazine, request, age
Background image of page 4
© 2010 by Spencer Rugaber Candidate Classes From these nouns, what candidate classes can you identify? We may have to merge some synonyms in doing this
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2010 by Spencer Rugaber Candidate Classes From these nouns, what candidate classes can you identify? We may have to merge some synonyms in doing this Patron, Child, Item, Book, LibraryCard, System, Library, AVMaterial, ReferenceBook, Magazine, BestSeller, Fine, Request Remaining Nouns to be Considered name, address, phone number, time, fine, libraryCardNumber, restriction, week, limit, day, cent, value, age
Background image of page 6
2010 by Spencer Rugaber
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/03/2010 for the course SA 5010 taught by Professor Spen during the Spring '10 term at Asian Institute of Management.

Page1 / 37

6 - Library Information System This exercise asks you to...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online