CMIS 470 Structured Systems Design Object-Oriented Analysis and Design – Sequence Diagrams; BPP details Week 5 Plan for Class Sequence diagrams Turn in OO homeworks #1 and #2 (UseCase and Class diagrams) BPP details Sequence Diagrams Illustrates the objects that participate in a use-case and the messages that pass between them over time for one usecase. A dynamic model Most similar to a DFD Level 0 Patient Admission System A patient will call in to schedule an appointment or cancel an appointment. The office employee should be able to look up the patient’s name to determine if this is an existing patient. The office employee should also be able to lookup any existing unpaid bills the patient may have with the doctor’s office. The system will look up available times and dates for an appointment. When a day/time works for the patient, the system will add a new appointment. Before available days and times can be recorded, an employee of the doctor’s office will need to create a master schedule. This master schedule will list all the doctor’s schedules and the days and times the office will be open for appointments. A doctor can alter his or her schedule. When this occurs, the doctor will inform the employee of any days/times when he/she is not available. In addition, the doctor can add days/times when he/she is available to see patients. Elements of a Sequence Diagram Text Objects Message or interaction Message condition Dotted Line Focus of Control or Activation Object creates Object If object creates an object, message is sent directly to an object instead of its lifeline. Creating a Sequence Diagram 1. Copy text for use case from the use case specification. Paste it onto the left margin of the page. 2. Identify Objects 3. Add messages 4. Place lifeline and focus of control Another example Enrolling in a fitness class Catapult special order system Enrolling in a Fitness Class When a student wants to add a new class, the manager will check the fitness class schedule for availability. The manager will notify the student of an opening, and the student will pay the fee if there is an opening. The student is then registered for the class. As new instructors are hired, their availability to teach a class will be recorded. Information on the type of class the instructor is certified to teach as well as the times he/she is available is recorded. At times, the fitness class schedule must be changed. When this occurs, the manager will change the fitness schedule, and will then notify the instructors and students who are affected by the change. CD special order Using the web, customers should be able to search for products and identify if the item is available. They should be able to order the item. The functionality that the system should have is listed below: Search through the inventory of products Receive marketing material on all products User should be able to place item into shopping cart User should be able to provide customer information including billing information. Order is accepted. TIPS Don’t turn your sequence diagram into a flowchart Update existing models Modification of Class Diagram Similar to DFDs and ERDs, after creating a Sequence Diagram, you may alter your Class Diagram. For Next Class Meeting… Review of PDD and WBS Next RR Deliverable Baseline Project Plan is due in three weeks. Project Management: The Big Picture TRACKING AND REPORTING Set the baseline plan Enter actuals Track variance Adjust plan Print and submit reports Communicate RR Project: Next Deliverable (BPP) Baseline Project Plan deliverable: 1.Enter your project plan (WBS) into MS Project 2.Review the plan and fine-tune it (paying attention to logic of task completion dates) 3.Define resources and assign them to the project tasks 4.Save as baseline plan • Must save as BASELINE before starting to record actuals 5.Produce reports requested for the BPP deliverable RR Project: TRACK and REPORT First status report due October 13 Suggest you hold a team meeting once a week to: Record actuals Prepare status report for class At least START DATE (and FINISH DATE when task is completed) Close out completed tasks by setting Percent Complete to 100% See RR Project specs for what the weekly status report needs to contain Make sure each team member is clear on what needs to be done during the next week Consider generating MS-P “To Do List” reports