UML- USe-Case o Describe system behavior and show how to capture it in a model View Report Card Student Register for Courses Logi Liang, Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 11 UML- Use-Case ⚫Describe system behavior and show how to capture it in a model
UML- Use-Case View Report Card Student Register for Courses intaipn Professor Information Course Catalog Login Maintain Student Information elect Courses to teach Registrar Professor Submit Grades Close Registration Billing Sys Liang, Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 12 UML- Use-Case
UML-Activity Diagram It is essentially a flow chart, showing flow of control from activity to activity Decision Select Course Concurrent Threads Activit I delete courseI Delete Course State Synchronization ourse Bar( Fork) Guard condition I checks completed l checks failed I Synchronization Bar( Join) Assign to Resolve Conflicts
Liang,Introduction to Java Programming,revised by Dai-kaiyu 13 UML-Activity Diagram It is essentially a flow chart, showing flow of control from activity to activity
UML-Class Diagrams o Describe the static view of the system and show how to capture it in a model E lying Thing Animal Multiple Inheritance Airplane Helicopter Bird Wolf Horse Liang, Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 14 UML-Class Diagrams ⚫Describe the static view of the system and show how to capture it in a model
Sequence diagrams Sequence diagrams describe interactions among objects by depicting the time ordering of method invocations The diagram shows The objects participating in the interaction The sequence of messages exchanged Class role anObject: TheClas notherObject: TheOtherClas Method Invocation mEthoda Activation another Methodo Method Invocation Introduction to Java Programming, revised by Dai-kaiyu
Liang,Introduction to Java Programming,revised by Dai-kaiyu 15 Sequence diagrams Sequence diagrams describe interactions among objects by depicting the time ordering of method invocations. The diagram shows: The objects participating in the interaction. The sequence of messages exchanged. Class role anObject: TheClass Method Invocation Activation anotherObject: TheOtherClass Method Invocation anotherMethod() aMethod()