COURSES
MBAData Science & AnalyticsDoctorate Software & Tech AI | ML MarketingManagement
Professional Certificate Programme in HR Management and AnalyticsPost Graduate Certificate in Product ManagementExecutive Post Graduate Program in Healthcare ManagementExecutive PG Programme in Human Resource ManagementMBA in International Finance (integrated with ACCA, UK)Global Master Certificate in Integrated Supply Chain ManagementAdvanced General Management ProgramManagement EssentialsLeadership and Management in New Age BusinessProduct Management Online Certificate ProgramStrategic Human Resources Leadership Cornell Certificate ProgramHuman Resources Management Certificate Program for Indian ExecutivesGlobal Professional Certificate in Effective Leadership and ManagementCSM® Certification TrainingCSPO® Certification TrainingLeading SAFe® 5.1 Training (SAFe® Agilist Certification)SAFe® 5.1 POPM CertificationSAFe® 5.1 Scrum Master Certification (SSM)Implementing SAFe® 5.1 with SPC CertificationSAFe® 5 Release Train Engineer (RTE) CertificationPMP® Certification TrainingPRINCE2® Foundation and Practitioner Certification
Law
Job Linked
Bootcamps
Study Abroad
Master of Business Administration (90 ECTS)Master of Business Administration (60 ECTS)Master in Computer Science (120 ECTS)Master in International Management (120 ECTS)Bachelor of Business Administration (180 ECTS)B.Sc. Computer Science (180 ECTS)MS in Data AnalyticsMS in Project ManagementMS in Information TechnologyMasters Degree in Data Analytics and VisualizationMasters Degree in Artificial IntelligenceMBS in Entrepreneurship and MarketingMSc in Data AnalyticsMS in Data AnalyticsMaster of Science in AccountancyMS in Computer ScienceMaster of Science in Business AnalyticsMaster of Business Administration MS in Data ScienceMS in Information TechnologyMaster of Business AdministrationMS in Applied Data ScienceMaster of Business AdministrationMS in Data AnalyticsM.Sc. Data Science (60 ECTS)Master of Business AdministrationMS in Information Technology and Administrative Management MS in Computer Science Master of Business Administration MBA General Management-90 ECTSMSc International Business ManagementMS Data Science MBA Business Technologies MBA Leading Business Transformation Master of Business Administration MSc Business Intelligence and Data ScienceMS Data Analytics MS in Management Information SystemsMSc International Business and ManagementMS Engineering ManagementMS in Machine Learning EngineeringMS in Engineering ManagementMSc Data EngineeringMSc Artificial Intelligence EngineeringMPS in InformaticsMPS in Applied Machine IntelligenceMS in Project ManagementMPS in AnalyticsMS in Project ManagementMS in Organizational LeadershipMPS in Analytics - NEU CanadaMBA with specializationMPS in Informatics - NEU Canada Master in Business AdministrationMS in Digital Marketing and MediaMS in Project ManagementMaster in Logistics and Supply Chain ManagementMSc Sustainable Tourism and Event ManagementMSc in Circular Economy and Sustainable InnovationMSc in Impact Finance and Fintech ManagementMS Computer ScienceMS in Applied StatisticsMS in Computer Information SystemsMBA in Technology, Innovation and EntrepreneurshipMSc Data Science with Work PlacementMSc Global Business Management with Work Placement MBA with Work PlacementMS in Robotics and Autonomous SystemsMS in Civil EngineeringMS in Internet of ThingsMSc International Logistics and Supply Chain ManagementMBA- Business InformaticsMSc International ManagementMS Computer Science with AIML ConcentrationMBA in Strategic Data Driven ManagementMaster of Business AdministrationMSc Digital MarketingMBA Business and MarketingMaster of Business AdministrationMSc Digital MarketingMSc in Sustainable Luxury and Creative IndustriesMSc in Sustainable Global Supply Chain ManagementMSc in International Corporate FinanceMSc Digital Business Analytics MSc in International HospitalityMSc Luxury and Innovation ManagementMaster of Business Administration-International Business ManagementMS in Computer EngineeringMS in Industrial and Systems EngineeringMSc International Business ManagementMaster in ManagementMSc MarketingMSc Business ManagementMSc Global Supply Chain ManagementMS in Information Systems and Technology with Business Intelligence and Analytics ConcentrationMSc Corporate FinanceMSc Data Analytics for BusinessMaster of Business AdministrationMaster of Business Administration 60 ECTSMaster of Business Administration 90 ECTSMaster of Business Administration 60 ECTSMaster of Business Administration 90 ECTSBachelors in International Management
For College Students

Why Class Diagram is Important in UML?

$$/$$

In the next video, you will learn what a class diagram is and why you need it. Class diagram is a type of Structural Diagram and used for the system design.

$$/$$

In the previous video, you learnt that in the object-oriented world, everything is represented as an object. These objects have different properties attached to them, which are called attributes. These objects also perform some actions, which are called methods.


A class is a blueprint from which different objects of the same type are created. For example, in your Inventory Management System, there can be 100 suppliers. So, there will be 100 supplier objects but only one supplier class. They will have the same attributes, but the values of those attributes will be different. For example, in your Inventory Management System, each supplier will have an attribute called name, but the value of that attribute will be different for different suppliers or supplier objects.


A class diagram is used to show what classes will be present in the system and how they will be related to each other. So, the main constituents of a class diagram are:

  • Classes
  • Relationship between different classes

 

Video Transcript

 

In an object oriented programming we identify everything as an object. So in our inventory management system, for example, we have suppliers, we have admin, inventory managers and so on so forth. So each of those actors or the nouns kind of becomes your class. So each of this class could have multiple attributes or what we call as properties and each of this actor could trigger set of functionalities like paying an invoice, viewing an invoice, placing an order and stuff. In this case, each of these actions becomes these methods, methods are actually becomes your actions, the verbs in your requirements becomes your methods and the input to those methods becomes the parameters or the arguments to your methods. So the representation of these classes methods attributes are done using a class diagram. In your inventory management system. There could be multiple suppliers, multiple inventory managers, but we don't really code for everyone. In your diagrams, we show just a single generic representation which is similar to a blueprint for a particular class. And and in addition to these, each of these actors interact with each other to fulfill an activity. So the class diagram also showcases the relationships between different classes within the system. 

 

Video Recap

 

  • Object-oriented programming identifies everything as an object.

  • Actors or nouns become classes, with multiple attributes and functionalities.

  • Methods are the verbs in the requirements and their input becomes the parameters.

  • Class diagrams represent classes, methods, and attributes of an inventory management system.

  • The diagrams show a generic representation of multiple actors in the system.

  • Different actors interact with each other to fulfill an activity.

  • Class diagrams showcase relationships between different classes in the system.

  • A class diagram is also used for college and hospital management systems.

  • Inventory management system involves suppliers, admins, and inventory managers as actors.

  • Methods include paying an invoice, viewing an invoice, placing an order, etc.

$$/$$

In this segment, you learned about the class diagram. A class diagram is used to show what classes will be present in the system and how they will be related to each other. A class has attributes and methods which represent the properties and functions of those classes.