1 / 31

UML Class Diagram

UML Class Diagram. ICS 125, Spring 2002. The class icon. Defines Persistent system state System behavior The class icon has Name Attributes Operations It’s a rectangle divided into three compartments. Steps followed. Draw class symbol in the editor and name it

kaycee
Download Presentation

UML Class Diagram

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. UML Class Diagram ICS 125, Spring 2002

  2. The class icon • Defines • Persistent system state • System behavior • The class icon has • Name • Attributes • Operations • It’s a rectangle divided into three compartments.

  3. Steps followed • Draw class symbol in the editor and name it • List the class attributes • List the class operations/methods • Make the links and associations • Give notations

  4. Structural Modeling: Core Elements Reference: OMG tutorial on UML by Cris Kobryn

  5. Structural Modeling: Core Elements(cont’d) ¹ An extension mechanism useful for specifying structural elements. Reference: OMG tutorial on UML by Cris Kobryn

  6. Structural Modeling: Core Relationships Reference: OMG tutorial on UML by Cris Kobryn

  7. Structural Modeling: Core Relationships(cont’d) Reference: OMG tutorial on UML by Cris Kobryn

  8. Interfaces: Longhand Notation Fig. 3-29, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  9. Associations Fig. 3-40, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  10. Composition Fig. 3-45, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  11. Generalization Fig. 3-47, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  12. Dependencies Fig. 3-50, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  13. Example UML Class Diagram Reference: www.smartdraw.com

  14. Example tools • Argo UML • http://argouml.tigris.org • Object Domain • http://www.objectdomain.com/domain/evaluationIntro.html • Rational Rose • www.rational.com • Microsoft Visio

  15. References • www.objectmentor.com • www.smartdraw.com • www.gdpro.com • www.objectdomain.com • www.rational.com • http://cgi.omg.org/cgi-bin/doc?omg/2001-03-02

  16. The class icon • Defines • Persistent system state • System behavior • The class icon has • Name • Attributes • Operations • It’s a rectangle divided into three compartments.

  17. Steps followed • Draw class symbol in the editor and name it • List the class attributes • List the class operations/methods • Make the links and associations • Give notations

  18. Structural Modeling: Core Elements Reference: OMG tutorial on UML by Cris Kobryn

  19. Structural Modeling: Core Elements(cont’d) ¹ An extension mechanism useful for specifying structural elements. Reference: OMG tutorial on UML by Cris Kobryn

  20. Structural Modeling: Core Relationships Reference: OMG tutorial on UML by Cris Kobryn

  21. Structural Modeling: Core Relationships(cont’d) Reference: OMG tutorial on UML by Cris Kobryn

  22. Interfaces: Longhand Notation Fig. 3-29, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  23. Associations Fig. 3-40, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  24. Composition Fig. 3-45, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  25. Generalization Fig. 3-47, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  26. Dependencies Fig. 3-50, UML Notation Guide Reference: OMG tutorial on UML by Cris Kobryn

  27. Example UML Class Diagram Reference: www.smartdraw.com

  28. Example tools • Argo UML • http://argouml.tigris.org • Object Domain • http://www.objectdomain.com/domain/evaluationIntro.html • Rational Rose • www.rational.com • Microsoft Visio

  29. References • www.objectmentor.com • www.smartdraw.com • www.gdpro.com • www.objectdomain.com • www.rational.com • http://cgi.omg.org/cgi-bin/doc?omg/2001-03-02

More Related