jagomart
digital resources
picture1_Umlnotationsummary


 104x       Filetype PDF       File size 0.05 MB       Source: websites.umich.edu


File: Umlnotationsummary
basic uml class diagram notation class abstract class inheritance is a relationship name name name base attributes virtual method abstract member variables method methods derived2 is a base member functions ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
                               Basic UML Class Diagram Notation
                      Class                        Abstract class           Inheritance (is-a) relationship
                      Name                      Name
                                                                    Name                 Base
               attributes                   virtual method()      {Abstract}
               (member  variables)          method()
               methods                                                                       Derived2 is-a Base
               (member functions)                   Object
               + public_method()
               # protected_method()           classname: objectname
               - private_method()                                              Derived1         Derived2
              Aggregation and Composition (has-a) relationship
                 Whole                                        Whole
                             Whole has Part as a part;
                             lifetimes might be different;                Whole has Part as a part;
                             Part might be shared with other              lifetime of Part controlled by Whole, 
                             Wholes.                                      Part objects are contained in one 
                             (aggregation)                     Part       Whole object.
                  Part                                                    (composition)
              Association (uses, interacts-with) relationship                 Navigability - can reach
                                                                              B starting from A
                      A       A’s role        B’s role     B                  A                  B
              Multiplicity  in Aggregation, Composition, or Association
              * - any number      0..1 - zero or one   Follow line from start class to end class, 
              1 - exactly 1       1..* - 1 or more     note the multiplicity at the end.
              n - exactly nn .. m - n through m        Say “Each  is associated with  ”
                   A       1                    *       B
                      Each A is associated with any number of B’s.
                      Each B is associated with exactly one A.
                                  Basic UML Sequence Diagram Notation
                                                                   objects
                                                      one that starts the action at the left
                                                   object1
                            time flow
                                                           <>              object2
                                                              get_info(spec)
                                                                                                search-self
                                                              requested info
                                                             do_something()
                                                                                             void return is implicit
                                                             <>
                      object1          focus of control         message sent
                                                                (function call)
                            lifetime
                                                                information returned              object sends message to itself
                                                                (non-void return)                 (one method calls another)
                  <>
                                                                return with no information
                 <>                                    (void return) - use for clarity only
The words contained in this file might help you see if this file matches what you are looking for:

...Basic uml class diagram notation abstract inheritance is a relationship name base attributes virtual method member variables methods derived functions object public protected classname objectname private aggregation and composition has whole part as lifetimes might be different shared with other lifetime of controlled by wholes objects are contained in one association uses interacts navigability can reach b starting from s role multiplicity or any number zero follow line start to end exactly more note the at n nn m through say each associated sequence that starts action left time flow get info spec search self requested do something void return implicit focus control message sent function call information returned sends itself non calls another no use for clarity only...

no reviews yet
Please Login to review.