Skip to main content

Posts

Showing posts from April 25, 2020

UML: Use Case Diagrams

User Tasks System Interactions These diagrams talks about "What" not "How". What operations and what functionalities etc.

UML Package Diagrams

Packages are logical grouping of components, classes etc. Logical Containers Support Large Models e.g: In below diagram Web Client Package is dependent on Account Services Package. And Account Services Package is dependent on Logging Package . Online Bill Payer and Investment Service are components in package Account Service. Birthday Bonus Component is dependent of ChildSavingPlan Class as shown.

UML Component Diagrams and Relationships

Component diagrams helps us to identify Identify Interfaces  Define replaceable parts Interfaces: Realized Required

UML Class Diagram Relationships

Below are the types of relationships in UML: 1. Inheritance(is a) / Generalization: Indicates that source type inherits from the target type. 2. Interface Realization: Indicates that source type realizes the target interface. 3. Association: Represents a general relationship between instances of the classes. e.g. An employee can be associated with multiple with multiple projects where as a project can have more than one employee. A Teacher is associated with multiple students.  4. Directed Association:  Directed association is related to direction of flow with in association classes. In Directed association, the flow is directed. The association from one class to another class flows in single direction only. e.g: A server can process requests of a client. This flow is unidirectional, that flows from server to client only. Hence a directed association relationship can be present within servers and clients of a system. Server has access to Client but cli...