Class Diagram for LinkedIn
Learn to create a class diagram for LinkedIn using the bottom-up approach.
We'll cover the following...
In this lesson, we’ll identify and design the classes, abstract classes, and interfaces based on the requirements we have previously gathered from the interviewer in our LinkedIn system.
Components of LinkedIn
As mentioned, we will design the LinkedIn system using a bottom-up approach.
Education, experience, and skill
The Education, Experience, Achievement, and Skill classes provide relevant information and comprise the Profile class.
These classes are represented below:
Recommendation, achievement, and analytics
The Recommendation, and Analytics classes are used to provide relevant information and make up the Profile class.
These classes are represented below:
Profile
The Profile class contains the personal information of a LinkedIn user—their profile, cover photo, experiences, education details, skills, and achievements.
The visual representation of the Profile class is given below:
Company page, job, and group
The CompanyPage class represents a particular page for a company that exists on LinkedIn. It contains the name, description, company size, etc.
The Job class contains information about a job posting at a specific company and current job openings.
The Group class represents a particular group that exists on the LinkedIn platform. This will contain the name, description, total users, and a particular ID to uniquely identify the group.
The representation of these classes is given below: