Example: marketing

UML Notation Summary

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.

(aggregation) Association (uses, interacts-with) relationship A B A’s role B’s role Multiplicity in Aggregation, Composition, or Association * - any number 0..1 - zero or one 1 - exactly 1 1..* - 1 or more n - exactly nn.. m - n through m Follow line from start class to …

Tags:

  Aggregation

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of UML Notation Summary

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

2 (composition)PartWholeObjectclassname: 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)

3 Requested infodo_something()<<destroy>>search-selfvoid return is implicitBasic UML Sequence Diagram Notationtime flowobjectsone that starts the action at the left


Related search queries