Skip to main content

Posts

Showing posts with the label #UML

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

UML(Unified Modeling Language ) Notes

Latest version of UML diagram is UML 2.5 released in June 2015 UML is managed by Object Management Group(OMG) UML Using UML we can do structured as well as Behavioral Modelling Structural Modeling Diagrams include Class Diagrams Component Diagrams Package Diagrams Deployment Diagrams Behavioral Modeling Diagrams include Use Case Diagrams Sequence Diagrams State Diagrams Activity Diagrams Following are the building Blocks of UML Things Relationships Things "Boxes" Class Use Case Component Node Message and Actions States Actions Relationships Association Generalization Implementation Dependency Goals of UML Visualize Specify Document - Mayank Gupta