1 / 11

Updating the Model

Updating the Model. update. Rose Browser. The Rose Browser provides the capability to textually view and navigate between the components in each of the models A + sign next to an icon indicates that the icon is collapsed A - sign next to an icon indicates that the icon is fully expanded.

lyndon
Download Presentation

Updating the Model

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Updating the Model update

  2. Rose Browser • The Rose Browser provides the capability to textually view and navigate between the components in each of the models • A + sign next to an icon indicates that the icon is collapsed • A - sign next to an icon indicates that the icon is fully expanded

  3. The Browser Fully expanded tree Collapsed tree

  4. Looking at the model • The browser shows the whole model, even things not displayed anywhere • diagrams, packages, classes, and nesting • view things in the browser • move things in the browser • select and drag • copy things in the browser • select and CTRL drag • create things in the browser • right mouse button • populate diagrams from the browser • select and drag onto a diagram

  5. Looking Inside a Package • Each package typically has its own main class diagram • This diagram typically shows • lower level packages • OR • classes that implement this package • The package will also contain any number of other class diagrams showing different views of the package • Packages can also contain sequence diagrams, collaboration diagrams, and state diagrams

  6. Additional Class Diagrams • Additional class diagrams are added to the model as needed • They show additional 搗iews?of the packages and classes in the model • Examples: • View of classes participating in a scenario • View of the 損rivate?classes in the package • View of a class and its attributes and operations • View of an inheritance hierarchy

  7. Editing Diagrams • Populate a diagram with existing components by • dragging components from the browser • the Query menu (for classes only) • Or create new components directly on the diagram or in the browser • Use the Tools: Layout Diagram tool to arrange components on the diagram • Use Tools:Autosize All to have components change size to match the strings they contain • Turn page breaks on and off using View: Page Breaks

  8. Editing classes • Add operations and attributes to classes using • the class specification • directly on the diagram • in the browser • Add documentation to classes using • the class specification • in the documentation window • Add all other information through the class specification • abstract • stereotype

  9. Stereotypes • A stereotype represents the classification of a class • Every class may have at most one stereotype • Common stereotypes • Exception class • Metaclass • Parameterized class • Boundary class • Controller class • Entity class • Utility class

  10. Exercise: <skip> Create the Main Class Diagrams for the Packages • People package • Professor class • UniversityArtifacts package • Course and CourseCatalogue classes • Interfaces • ManageCurriculumForm, DropCourseForm, and the CatalogueForm classes

  11. Exercise<skip>: Additional Class Diagrams • Create another class diagram for the UniversityArtifacts package • Diagram name: Catalogue Information • Classes: Course, CourseOffering and CourseCatalogue classes

More Related