Skip to main content

UML Class Relationships and Hierarchies in Object-Oriented Programming Study Guide

This guide covers the fundamental principles of object-oriented system modeling. It explains how to break down complex systems into smaller, manageable components using objects and classes. Key concepts such as attributes, state, operations, abstraction, encapsulation, inheritance, generalization, specialization, and polymorphism are detailed. The guide also introduces Unified Modeling Language (UML) notation for class and instance diagrams, and provides methods for identifying objects within an

Save this study guide to your study set

Sign up free

Your learning path

Modeling Systems with UML Class Diagrams

Understanding UML Class Diagrams

Class diagrams illustrate the static relationships between classes, including association, aggregation, composition, and generalization.

  • UML class notation
  • Association
  • Navigability
  • Multiplicity
  • Aggregation
  • Reference objects
  • Value objects
  • Composition
  • Generalization
  • Inheritance
  • Abstract class

Class Diagrams and Entity Relationship Diagrams

This guide explains how to model structural and behavioural features of a system using class diagrams and entity relationship diagrams.

  • Class diagrams
  • Entity Relationship Diagrams (ERD)
  • Class
  • Association
  • Binary association
  • n-ary association
  • Aggregation
  • Composition
  • Generalization
  • Dependency
  • Realization
  • Association Classes
  • Attributes
  • Behaviours
  • Multiplicity
  • Entity
  • Cardinality
  • Primary Keys
  • Foreign Keys

UML Class Relationships and Hierarchies

This topic covers object classes, multiplicity, generalization hierarchies, and the distinctions between aggregation and composition within software modeling.

  • Connections
  • Cardinality
  • Multiplicity
  • Generalisation
  • Generalisation Hierarchy
  • Specialization
  • Subclass
  • Superclass
  • Inheritance
  • Aggregation
  • Composition
  • Association
  • Life cycle
  • Whole/part relationship

UML Class Diagrams Cheat Sheet

A class diagram gives an overview of a system by showing its classes and the relationships among them.

  • class diagram
  • UML class notation
  • class name
  • attributes
  • operations
  • abstract classes
  • association
  • aggregation
  • generalization
  • inheritance
  • superclass
  • role name
  • navigability
  • multiplicity
  • bi-directional association

Object Oriented System Modelling and Objects

This document covers object oriented modelling, identifying objects in an application, and the characteristics, properties, and UML notation of objects and classes.

  • Object Oriented Modelling
  • Objects and their properties
  • Characteristics of Objects
  • Class Diagram
  • UML Notation
  • Instance Diagram
  • Operation Types
  • Abstraction
  • Encapsulation
  • Inheritance
  • Generalisation
  • Specialisation
  • Polymorphism
  • Identifying Objects

Objects and Their Properties

An analysis of object oriented design using examples of receiving items ordered, including classes, attributes, operations, and collaboration diagrams.

  • Object oriented design
  • Classes
  • Attributes
  • Operations
  • Collaboration diagram
  • Class diagram
  • External object
  • Derived attributes

Fundamentals of Object Oriented Programming and Models

Object Oriented Model and Concepts

The object-oriented model uses classes and objects as basic building blocks to represent real-world entities through attributes, methods, and object identity.

  • Object-oriented model
  • Classes
  • Objects
  • Object identity (OID)
  • Object attributes
  • Instance variables
  • Object state
  • Encapsulation
  • Messages
  • Methods
  • Operation signature
  • Object behavior

Object Encapsulation and Class Fundamentals

Encapsulation hides an object's internal details, attributes, and methods to ensure integrity and protect data from invalid values.

  • Encapsulation
  • Attributes
  • Methods
  • Object state
  • Private access
  • Public access
  • Class
  • Object instances
  • Operations
  • Object diagrams

The Object-Oriented Model Fundamentals

A collection of similar objects with shared structure and behaviour organized into a class hierarchy through inheritance and polymorphism.

  • Class
  • Attributes
  • Operations
  • Methods
  • Object instance
  • Protocol
  • Private visibility
  • Protected visibility
  • Public visibility
  • Inheritance
  • Superclass
  • Subclass
  • Generalization
  • Code reusability
  • Polymorphism

Graphic User Interface and Object Classes

The Graphic User Interface defines a screen framework, methods for navigating the screen, and rules for opening and closing windows through object classes and instances.

  • Graphic User Interface
  • Object class
  • Instance
  • Methods
  • Attributes
  • Inheritance
  • Software development
  • Object oriented programming

Types of Object Oriented Inheritance

An overview of different inheritance types including single level, hierarchical, multiple, multi-level, and hybrid inheritance within object oriented programming.

  • Single Level Inheritance
  • Hierarchical Inheritance
  • Multiple Inheritance
  • Multi-Level Inheritance
  • Hybrid Inheritance
  • Base Class
  • Child Class
  • Class Notation
  • Attributes
  • Methods
  • Association
  • Aggregation
  • Composition
  • Connection

Object Oriented Programming Interfaces and Contracts

Interfaces specify what a class must be able to do by separating how we use something from how it is implemented.

  • Interface
  • Implementation
  • UML class diagram
  • Inheritance
  • Separation of usage from implementation
  • Contracts
  • Concrete inheritance
  • Interface inheritance
  • Polymorphism
  • Java notation
  • Class
  • Object
  • Attribute
  • Operation
  • Association
  • Multiplicity
  • Aggregation
  • Composition
  • Generalisation
  • Dependency

Make it your own.

Keep these readings and topics in a new study set, or add them to one you already use.