Common Mechanisms PowerPoint PPT Presentation

presentation player overlay
1 / 9
About This Presentation
Transcript and Presenter's Notes

Title: Common Mechanisms


1
Common Mechanisms
  • Controlled methods of extending UML

2
Terms Concepts
  • Note - graphical symbol for holding concepts
    which is attached to appropriate icon
  • stereotypes
  • creates equivalent of a new type supported by UML
  • usually refinement or special case of something
    supported by UML
  • syntax ltlt stereotype name gtgt or create new icon

3
  • Tagged values
  • create new properties
  • apply to element - not instances
  • analogous to a class-wide property
  • syntax
  • constraints
  • create new semantics or change existing semantics
  • can be informal (text) or formal (OCL - object
    constraint language)
  • syntax

4
Common Modeling Techniques
  • Modeling of a comment
  • put comment in form of text in note place it
    next to thing to which it refers
  • only make comments visible when they add
    information
  • lengthy comment - put in external document link
    it to your note
  • keep comments which record important assumptions
    decisions discard rest

5
(No Transcript)
6
  • Modeling new building blocks
  • reuse any previous constructed stereotypes if
    possible
  • construct new one only if necessary
  • identify UML supported item which is closest to
    new item being modeled
  • determine properties semantics which are
    different from those of UML supported item
  • represent them using tagged values constraints
  • possibly construct new icon

7
(No Transcript)
8
  • Modeling new properties
  • reuse any previous constructed tagged types if
    possible
  • construct new one only if necessary
  • add tagged value to appropriate item

9
  • Modeling new semantics
  • reuse any previous constructed constraints if
    possible
  • construct new one only if necessary
  • write constraint using text or OCL
Write a Comment
User Comments (0)
About PowerShow.com