Download
uml class diagram n.
Skip this Video
Loading SlideShow in 5 Seconds..
UML Class Diagram PowerPoint Presentation
Download Presentation
UML Class Diagram

UML Class Diagram

200 Vues Download Presentation
Télécharger la présentation

UML Class Diagram

- - - - - - - - - - - - - - - - - - - - - - - - - - - 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