College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. ·...
Transcript of College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. ·...
![Page 1: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/1.jpg)
�����������
�� ����������������
![Page 2: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/2.jpg)
������
![Page 3: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/3.jpg)
���������� �������
� ������������������������ ������
� ������������� ������������� ���
� ��� ����� ���������� ���!��� ��
� ���� �� � ���������� �� �������
![Page 4: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/4.jpg)
"������������������#
� $����������� ������������%������������ ������
� ��� ���������������������� ����� �������
� &������� ��������
![Page 5: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/5.jpg)
'����
![Page 6: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/6.jpg)
����� �������
� &����������
� ����������
� �����(����������
� �����(������������
� )����������������
� �� ������������
� ����� ���������
![Page 7: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/7.jpg)
&����������
� ������*��������� ��������� �����
� ���� �������������� ����� ���� �� ���
![Page 8: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/8.jpg)
&����������
� &���
� ��!����� ������� �� ����������
� �����
� ���� ��������������������������
![Page 9: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/9.jpg)
����������&����������
![Page 10: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/10.jpg)
Start Menu
Programs
RationalSoftware
Rational RoseEnterprise Edition
![Page 11: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/11.jpg)
Click Cancel
![Page 12: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/12.jpg)
Expand Use Case View
![Page 13: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/13.jpg)
Right-click Use Case View
![Page 14: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/14.jpg)
Choose New -> Actor
![Page 15: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/15.jpg)
Type in LibraryUser
![Page 16: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/16.jpg)
Right-click Use Case View
![Page 17: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/17.jpg)
Choose New -> Use Case
![Page 18: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/18.jpg)
Name itCheck Book Availability
![Page 19: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/19.jpg)
Do the same to add a Librarian Actor,Use CasesCheckout BookRenew BookReserve BookRe-shelf BookReturn Book
![Page 20: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/20.jpg)
Right-click the Main Use Case Diagram,Click Rename, and type in Library Transactions
![Page 21: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/21.jpg)
Double-click Library Transactionto bring up the Use Case Diagram
![Page 22: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/22.jpg)
Maximize the Use Case Diagram
![Page 23: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/23.jpg)
Drag LibraryUser and Librarianto the Use Case Diagram
![Page 24: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/24.jpg)
Likewise, drag all theUse Cases to the diagramone by one
![Page 25: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/25.jpg)
Click the Unidirectional Association arrow(solid line arrow)
![Page 26: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/26.jpg)
Click and hold the mouse clickon LibraryUser, drag it over toReturn Book, then release the mouse
![Page 27: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/27.jpg)
Return Book Use Case is thenassociated to Library User.
Do the same to createAssociation arrows asshown in the diagram.
![Page 28: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/28.jpg)
Click the Dependency arrow(dotted line arrow)
![Page 29: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/29.jpg)
Drag from Reserve Book to Check Book Availability
![Page 30: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/30.jpg)
Right click the Dependency arrow
![Page 31: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/31.jpg)
Choose Open Specification
![Page 32: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/32.jpg)
Open the drop down box
![Page 33: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/33.jpg)
Choose Include
![Page 34: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/34.jpg)
Then click OK
![Page 35: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/35.jpg)
Drag <<include>> above the arrow
![Page 36: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/36.jpg)
![Page 37: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/37.jpg)
����������
� �������������������������+����� ����������������������
![Page 38: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/38.jpg)
����������
� ������
� ��������
� ��������
![Page 39: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/39.jpg)
��������������������
![Page 40: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/40.jpg)
Right clickUse Case View
![Page 41: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/41.jpg)
Choose New -> Class Diagram
![Page 42: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/42.jpg)
Name it LibraryClasses
![Page 43: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/43.jpg)
Double-click LibraryClassesand maximize the diagram
![Page 44: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/44.jpg)
Right clickUse Case View
![Page 45: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/45.jpg)
Choose New -> Class
![Page 46: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/46.jpg)
Name it Book
![Page 47: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/47.jpg)
Do the same andcreate these classes: PatronStudentFaculty
![Page 48: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/48.jpg)
Drag them intothe class diagram
![Page 49: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/49.jpg)
![Page 50: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/50.jpg)
Right-click Book,Select New Attribute
![Page 51: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/51.jpg)
Name it Title
![Page 52: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/52.jpg)
Add the remaining attribute:Author
ISBNPublisher
Status
![Page 53: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/53.jpg)
Right-click Book,Select New Operation
![Page 54: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/54.jpg)
Name it isAvailable
![Page 55: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/55.jpg)
Enter the rest of the attributes and operations as shown in the diagram
![Page 56: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/56.jpg)
Click the Generalizationarrow
![Page 57: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/57.jpg)
Drag it from Studentto Patron
![Page 58: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/58.jpg)
Do the same for Faculty
![Page 59: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/59.jpg)
![Page 60: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/60.jpg)
Drag the arrow head of the Faculty class arrow of the Student class
![Page 61: College of Science and Engineering | University of Houston-Clear … · 2006. 9. 15. · Right-click the Main Use Case Diagram, Click Rename, and type in Library Transactions](https://reader036.fdocuments.in/reader036/viewer/2022081409/608179f01c888a241f1b630b/html5/thumbnails/61.jpg)
We have built an inheritance tree