Transcription of UML Notation Summary
{{id}} {{{paragraph}}}
Name{Abstract}Abstract classAggregation and Composition (has-a) relationshipBaseDerived1 Derived2 Inheritance (is-a) relationshipDerived2 is-a BasePartWholeWhole has Part as a part;lifetimes might be different; Part might be shared with other Wholes.(aggregation)Association (uses, interacts-with) relationshipABA s roleB s roleMultiplicity in Aggregation, Composition, or Association* - any - zero or one1 - exactly * - 1 or moren - exactly nn .. m - n through mFollow line from start class to end class, note the multiplicity at the Each <start> is associated with <multiplicity> <ends> AB1*Each A is associated with any number of B B is associated with exactly one has Part as a part;lifetime of Part controlled by Whole, Part objects are contained in one Whole object.(composition)PartWholeObjectclass name: objectnameBasic UML Class Diagram NotationNavigability - can reachB starting from AABC lassNameattributes(member variables)methods(member functions)+ public_method()# protected_method()- private_method()Namevirtual method()method()object sends message to itself(one method calls another)message sent(function call)information returned(non-void return)<<destroy>> <<create>>focus of controlobject1lifetimereturn with no information(void return) - use for clarity onlyobject1object2<<create>>get_info(spec)
Name {Abstract} Abstract class Aggregation and Composition (has-a) relationship Base Derived1 Derived2 Inheritance (is-a) relationship Derived2 is-a Base
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}