Class Diagram for LinkedIn
Learn to create a class diagram for LinkedIn using the bottom-up approach.
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 earlier, we will design the LinkedIn system using a bottom-up approach.
Account
The Account
class identifies a LinkedIn user through their username and ID. Users with an account will have the option to create groups, pages, posts, comments, and like other comments and posts.
The class definition is represented below:
Education, experience, and skill
The Education
, Experience
, and Skill
classes provide relevant information and make up the Profile
class.
These classes are represented below:
Recommendation, achievement, and analytics
The Recommendation
, Achievement
, 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 ...
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.