2

Object Modelling

LEARNING OBJECTIVES

At the end of this chapter, you should be able to

  • Understand object modelling.

  • Use notations of UML to specify objects and classes, their notations, meta models and concepts like mandatory profiles, meta data, meta classes, etc.

  • Learn to use class diagrams and object diagrams of UML.

  • Understand the concept of links and hierarchy, polymorphism and abstract classes in OOPS language.

2.1 Introduction

Object modelling encompasses all the elements that we studied in Chapter 1 regarding objectoriented (OO) methodology. The principles of object modelling are abstraction, encapsulation, modularity, hierarchy, typing, concurrency and persistence.

In conventional programming styles, we conceive the problem and ...

Get Object-oriented Programming Using C++ and Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.