UML(Unified Modeling Language)

UML (Unified Modeling Language) – Consist of boxes representing classes. Each box has 3 parts (Top, Middle and Bottom).
                Top Part – Class/Package name
Middle Part – Class variables (+ Sign ->Public, - Sign ->Private, # Sign -> Protected)
Bottom Part – List of Methods

UML Relationships

Association – Is a structural relationship between two modal elements that shows that objects of one classifier connect and can navigate to objects of other classifier. Let’s take an example of doctor and patient relationship. A doctor can associated with multiple patients and same time a patient can visit multiple doctors. Each of these objects has their own life cycle and there is no owner.

Aggregation – It’s an association between the objects in which the objects has their own life cycle but there exists an ownership as well. As an example an employee may belongs to multiple department in an organization. However if the department deleted, the employee object wouldn’t be deleted.

Composition – It’s a specialized form of aggregation in which if a parent object destroyed, the child objects would also destroy. As an example, a house is composed of one or more rooms. If house is destroyed, all the rooms that are part of house are also destroyed.

               Dependency – Represents the relationship between the two or more objects where an object is                         depend on another object. As an example, relationship between client and supplier, a client is                             dependent on supplier for supplying the products.

Comments

Popular posts from this blog

SSIS Merge Join - Both inputs of the transformation must contain at least one sorted column, and those columns must have matching metadata SSIS

jsGrid

Add Item to SharePoint List with attachment using client object model