Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sample Analysis Model. Example: Sequence Diagram –“Richer Sample.” : Student : RegisterForCoursesForm : RegistrationController : Schedule : Student :

Similar presentations


Presentation on theme: "Sample Analysis Model. Example: Sequence Diagram –“Richer Sample.” : Student : RegisterForCoursesForm : RegistrationController : Schedule : Student :"— Presentation transcript:

1 Sample Analysis Model

2 Example: Sequence Diagram –“Richer Sample.” : Student : RegisterForCoursesForm : RegistrationController : Schedule : Student : Course Catalog : CourseCatalogSystem A list of the available course offerings for this semester are displayed Student wishes to create a new schedule 1. // create schedule( ) 1.2. // display course offerings( ) 1.1. // get course offerings( ) 1.1.1. // get course offerings(forSemester) 1.3. // display blank schedule( ) At this, point the Submit Schedule subflow is executed.  Note requests for service from Actor! (ahead)  Here, objects are boundary, control, and entity objects; boundary to actors (Student and Course Catalog) Controller object is the big cookie, so to speak. Other ‘objects’ (Schedule, Student) are created as Needed and will ultimately be made persistent elsewhere (on this rendering). 2. // select four primary and two alternate offerings( ) 2.1. // create schedule with offerings( ) 2.1.1. // create with offerings( ) A blank schedule is displayed for the students to select offerings 2.1.2. // add schedule(Schedule) 1.1.1.1. // get course offerings( ) Sequence Diagram (Analysis Model) to Create a New Schedule…(from a Use Case)

3 Example: Sequence Diagram (cont.) :CourseOffering : Student : RegisterForCoursesForm : RegistrationController : Schedule : Student : PrimaryScheduleOfferingInfo Repeat for all primary course offerings. An attempt is made to register the student for all selected course Offerings one at a time!!! (See loop) 1. // submit schedule( ) 1.1. // submit schedule( ) 1.1.2. // submit( ) 1.1.2.3. // still open?( ) 1.1.2.5. // add student(Schedule) 1.1.2.2. // has pre-requisites(CourseOffering) 1.1.2.4. // any conflicts?( ) 1.1.2.1. // is selected?( ) 1.1.2.6. // mark as enrolled in( ) 1.1.1. // save( ) [ has pre-requisites, course offering open, and no schedule conflicts ] [ is selected ] Note the loop in the Sequence Diagram… This sequence diagram is for Submit Schedule Now actor wishes to submit the schedule… Boundary classes are tagged > or are clear with their location prior to control class. These also serve as interfaces to external systems. )


Download ppt "Sample Analysis Model. Example: Sequence Diagram –“Richer Sample.” : Student : RegisterForCoursesForm : RegistrationController : Schedule : Student :"

Similar presentations


Ads by Google