Development of Object Model:

Developing an Object model from given scenario is an easy task if following step are followed in a sequence. Following steps are mandatory to model a scenario into Object model.

Step 1: Identify Classes

As we already know that in our daily life everything can be taken as an object that behaves in a certain way and has certain attributes along with its unique identity. Object can be tangible or intangible (conceptual). Now figure outs nouns given in problem description they are candidates for becoming objects of our system.

Step 2: Identify Attributes

You will have to find the necessary attributes that need to be associated with each object to implement the functionality mentioned above. Gather all related attributes of identified object which must be relevant to given prospective. You can identify attributes from problem statement; if they are not given then using your domain knowledge identify attributes for objects.

Step 3: Identify Functions

You will have to find the necessary functions that need to be associated with each object to implement the functionality mentioned above. Gather all related functionality of identified object which must be relevant to given prospective. Extract verbs connected with an object. This functionality will become your objects functions.

Step 4: Identify relationship between classes

Now in this step identify relationship between different classes. Check to find you’re what kind of relationship a class has with other and what kind of relationship between different objects exist. They may be relationship of

  • Inheritance
  • Composition
  • Aggregation

Step 5: Draw Final Diagram

You will make a final comprehensive diagram show and all objects and their relations along with their attributes and functions. You can use any tool for drawing like MS Visio. But make sure you use standard labels and symbols which are used for specific concept.